.class public Lcom/estrongs/android/pop/utils/n;
.super Ljava/lang/Object;
.source "DirHide.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/estrongs/android/pop/utils/n$e;,
        Lcom/estrongs/android/pop/utils/n$g;,
        Lcom/estrongs/android/pop/utils/n$d;,
        Lcom/estrongs/android/pop/utils/n$i;,
        Lcom/estrongs/android/pop/utils/n$j;,
        Lcom/estrongs/android/pop/utils/n$h;,
        Lcom/estrongs/android/pop/utils/n$f;
    }
.end annotation


# static fields
.field private static e:Ljava/lang/String;

.field public static f:Ljava/util/Set;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Set<",
            "Lcom/estrongs/android/pop/utils/n$i;",
            ">;"
        }
    .end annotation
.end field

.field public static g:Z

.field private static volatile h:I

.field private static final i:Ljava/lang/Object;

.field private static j:Lcom/estrongs/android/pop/utils/n;

.field private static k:Ljava/lang/String;


# instance fields
.field public a:Lcom/estrongs/android/pop/utils/n$f;

.field private b:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Lcom/estrongs/android/pop/utils/n$e;",
            ">;"
        }
    .end annotation
.end field

.field private c:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList<",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation
.end field

.field private d:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList<",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation
.end field


# direct methods
.method static constructor <clinit>()V
    .locals 2

    .line 1
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    sget-object v1, Lcom/estrongs/android/pop/b;->a:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v1, "/hide2.txt"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    sput-object v0, Lcom/estrongs/android/pop/utils/n;->e:Ljava/lang/String;

    .line 2
    new-instance v0, Ljava/util/HashSet;

    invoke-direct {v0}, Ljava/util/HashSet;-><init>()V

    sput-object v0, Lcom/estrongs/android/pop/utils/n;->f:Ljava/util/Set;

    const/4 v0, 0x0

    .line 3
    sput-boolean v0, Lcom/estrongs/android/pop/utils/n;->g:Z

    .line 4
    sput v0, Lcom/estrongs/android/pop/utils/n;->h:I

    .line 5
    sget-object v0, Lcom/estrongs/android/util/h0;->c:Ljava/lang/Object;

    sput-object v0, Lcom/estrongs/android/pop/utils/n;->i:Ljava/lang/Object;

    .line 6
    new-instance v0, Lcom/estrongs/android/pop/utils/n;

    invoke-direct {v0}, Lcom/estrongs/android/pop/utils/n;-><init>()V

    sput-object v0, Lcom/estrongs/android/pop/utils/n;->j:Lcom/estrongs/android/pop/utils/n;

    const/4 v0, 0x0

    .line 7
    sput-object v0, Lcom/estrongs/android/pop/utils/n;->k:Ljava/lang/String;

    return-void
.end method

.method private constructor <init>()V
    .locals 4

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 2
    new-instance v0, Lcom/estrongs/android/pop/utils/n$f;

    const-string v1, "root"

    const/4 v2, 0x0

    const/4 v3, 0x1

    invoke-direct {v0, v1, v2, v3}, Lcom/estrongs/android/pop/utils/n$f;-><init>(Ljava/lang/String;ZZ)V

    iput-object v0, p0, Lcom/estrongs/android/pop/utils/n;->a:Lcom/estrongs/android/pop/utils/n$f;

    .line 3
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/estrongs/android/pop/utils/n;->b:Ljava/util/List;

    .line 4
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/estrongs/android/pop/utils/n;->c:Ljava/util/ArrayList;

    .line 5
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/estrongs/android/pop/utils/n;->d:Ljava/util/ArrayList;

    return-void
.end method

.method private a(Ljava/lang/String;ZI)Lcom/estrongs/android/pop/utils/n$f;
    .locals 9

    const/4 v0, 0x0

    if-eqz p1, :cond_16

    .line 108
    invoke-virtual {p1}, Ljava/lang/String;->length()I

    move-result v1

    if-nez v1, :cond_0

    goto/16 :goto_8

    :cond_0
    const/4 v1, 0x0

    .line 109
    invoke-virtual {p1, v1}, Ljava/lang/String;->charAt(I)C

    move-result v2

    const/16 v3, 0x2f

    if-ne v2, v3, :cond_1

    .line 110
    invoke-direct {p0, p1}, Lcom/estrongs/android/pop/utils/n;->j(Ljava/lang/String;)Lcom/estrongs/android/pop/utils/n$d;

    move-result-object p1

    iget-object p1, p1, Lcom/estrongs/android/pop/utils/n$d;->a:Ljava/lang/String;

    .line 111
    :cond_1
    invoke-static {p1, p3}, Lcom/estrongs/android/pop/utils/n;->c(Ljava/lang/String;I)Z

    move-result p3

    if-eqz p3, :cond_2

    return-object v0

    .line 112
    :cond_2
    invoke-direct {p0, p1}, Lcom/estrongs/android/pop/utils/n;->n(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p3

    if-nez p3, :cond_3

    return-object v0

    .line 113
    :cond_3
    invoke-direct {p0, p3}, Lcom/estrongs/android/pop/utils/n;->m(Ljava/lang/String;)Lcom/estrongs/android/pop/utils/n$f;

    move-result-object v2

    if-nez v2, :cond_4

    return-object v0

    :cond_4
    const-string v3, "/"

    .line 114
    invoke-virtual {p1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-nez v4, :cond_15

    invoke-static {p1}, Lcom/estrongs/android/util/h0;->V1(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_5

    goto/16 :goto_7

    .line 115
    :cond_5
    invoke-direct {p0, p1}, Lcom/estrongs/android/pop/utils/n;->p(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    if-nez p1, :cond_6

    return-object v0

    .line 116
    :cond_6
    invoke-virtual {p1, v3}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object p1

    if-eqz p1, :cond_14

    .line 117
    array-length v2, p1

    if-nez v2, :cond_7

    goto/16 :goto_6

    .line 118
    :cond_7
    aget-object v2, p1, v1

    const/4 v3, 0x1

    if-eqz v2, :cond_9

    aget-object v2, p1, v1

    invoke-virtual {v2}, Ljava/lang/String;->length()I

    move-result v2

    if-nez v2, :cond_8

    goto :goto_0

    :cond_8
    const/4 v2, 0x0

    goto :goto_1

    :cond_9
    :goto_0
    const/4 v2, 0x1

    .line 119
    :goto_1
    invoke-direct {p0, p3}, Lcom/estrongs/android/pop/utils/n;->m(Ljava/lang/String;)Lcom/estrongs/android/pop/utils/n$f;

    move-result-object p3

    move-object v4, v0

    .line 120
    :goto_2
    array-length v5, p1

    const-string v6, ""

    if-ge v2, v5, :cond_11

    .line 121
    iget-boolean v4, p3, Lcom/estrongs/android/pop/utils/n$f;->b:Z

    if-eqz v4, :cond_a

    const/4 p2, 0x1

    .line 122
    :cond_a
    iget-object v4, p3, Lcom/estrongs/android/pop/utils/n$f;->d:Ljava/util/ArrayList;

    if-nez v4, :cond_c

    if-eqz p2, :cond_b

    .line 123
    new-instance p1, Lcom/estrongs/android/pop/utils/n$f;

    invoke-direct {p1, v6, v3, v3}, Lcom/estrongs/android/pop/utils/n$f;-><init>(Ljava/lang/String;ZZ)V

    return-object p1

    :cond_b
    return-object v0

    .line 124
    :cond_c
    invoke-virtual {v4}, Ljava/util/ArrayList;->size()I

    move-result v4

    const/4 v5, 0x0

    .line 125
    :goto_3
    iget-object v7, p3, Lcom/estrongs/android/pop/utils/n$f;->d:Ljava/util/ArrayList;

    invoke-virtual {v7}, Ljava/util/ArrayList;->size()I

    move-result v7

    if-ge v5, v7, :cond_e

    .line 126
    iget-object v7, p3, Lcom/estrongs/android/pop/utils/n$f;->d:Ljava/util/ArrayList;

    invoke-virtual {v7, v5}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v7

    check-cast v7, Lcom/estrongs/android/pop/utils/n$f;

    iget-object v7, v7, Lcom/estrongs/android/pop/utils/n$f;->a:Ljava/lang/String;

    .line 127
    aget-object v8, p1, v2

    invoke-virtual {v8, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v7

    if-eqz v7, :cond_d

    .line 128
    iget-object p3, p3, Lcom/estrongs/android/pop/utils/n$f;->d:Ljava/util/ArrayList;

    invoke-virtual {p3, v5}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object p3

    check-cast p3, Lcom/estrongs/android/pop/utils/n$f;

    goto :goto_4

    :cond_d
    add-int/lit8 v5, v5, 0x1

    goto :goto_3

    :cond_e
    :goto_4
    if-lt v5, v4, :cond_10

    if-eqz p2, :cond_f

    .line 129
    new-instance p1, Lcom/estrongs/android/pop/utils/n$f;

    invoke-direct {p1, v6, v3, v3}, Lcom/estrongs/android/pop/utils/n$f;-><init>(Ljava/lang/String;ZZ)V

    return-object p1

    :cond_f
    return-object v0

    :cond_10
    add-int/lit8 v2, v2, 0x1

    move-object v4, p3

    goto :goto_2

    :cond_11
    if-eqz v4, :cond_12

    .line 130
    iput-boolean p2, v4, Lcom/estrongs/android/pop/utils/n$f;->e:Z

    goto :goto_5

    :cond_12
    if-eqz p2, :cond_13

    .line 131
    new-instance p1, Lcom/estrongs/android/pop/utils/n$f;

    invoke-direct {p1, v6, v3, v3}, Lcom/estrongs/android/pop/utils/n$f;-><init>(Ljava/lang/String;ZZ)V

    return-object p1

    :cond_13
    :goto_5
    return-object v4

    :cond_14
    :goto_6
    return-object v0

    :cond_15
    :goto_7
    return-object v2

    :cond_16
    :goto_8
    return-object v0
.end method

.method static synthetic a()Lcom/estrongs/android/pop/utils/n;
    .locals 1

    .line 2
    sget-object v0, Lcom/estrongs/android/pop/utils/n;->j:Lcom/estrongs/android/pop/utils/n;

    return-object v0
.end method

.method private a(Ljava/io/InputStream;I)Ljava/lang/String;
    .locals 2
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    const/16 v0, 0x200

    new-array v0, v0, [B

    const/4 v1, 0x0

    .line 161
    invoke-virtual {p1, v0, v1, p2}, Ljava/io/InputStream;->read([BII)I

    .line 162
    aput-byte v1, v0, p2

    .line 163
    new-instance p1, Ljava/lang/String;

    invoke-direct {p1, v0, v1, p2}, Ljava/lang/String;-><init>([BII)V

    return-object p1
.end method

.method public static a(Ljava/util/List;)Ljava/util/List;
    .locals 10
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;)",
            "Ljava/util/List<",
            "Lcom/estrongs/fs/g;",
            ">;"
        }
    .end annotation

    .line 88
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    .line 89
    new-instance v1, Ljava/util/LinkedList;

    invoke-direct {v1}, Ljava/util/LinkedList;-><init>()V

    .line 90
    sget-object v2, Lcom/estrongs/android/pop/utils/n;->i:Ljava/lang/Object;

    monitor-enter v2

    const/4 v3, 0x0

    const/4 v4, 0x0

    .line 91
    :goto_0
    :try_start_0
    invoke-interface {p0}, Ljava/util/List;->size()I

    move-result v5

    if-ge v4, v5, :cond_0

    .line 92
    invoke-interface {p0, v4}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Lcom/estrongs/fs/g;

    .line 93
    invoke-static {v5}, Lcom/estrongs/android/pop/utils/n;->a(Lcom/estrongs/fs/g;)Z

    move-result v6

    .line 94
    sget-object v7, Lcom/estrongs/android/pop/utils/n;->j:Lcom/estrongs/android/pop/utils/n;

    invoke-interface {v5}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v8

    invoke-interface {v5}, Lcom/estrongs/fs/g;->i()Lcom/estrongs/fs/l;

    move-result-object v9

    invoke-virtual {v9}, Lcom/estrongs/fs/l;->b()Z

    move-result v9

    invoke-virtual {v7, v8, v9, v0, v6}, Lcom/estrongs/android/pop/utils/n;->a(Ljava/lang/String;ZLjava/util/List;Z)V

    .line 95
    invoke-interface {v1, v5}, Ljava/util/List;->add(Ljava/lang/Object;)Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    add-int/lit8 v4, v4, 0x1

    goto :goto_0

    .line 96
    :cond_0
    :try_start_1
    invoke-static {}, Lcom/estrongs/android/pop/utils/n;->i()V

    .line 97
    sget-object p0, Lcom/estrongs/android/pop/utils/n;->j:Lcom/estrongs/android/pop/utils/n;

    invoke-direct {p0}, Lcom/estrongs/android/pop/utils/n;->g()V

    .line 98
    sput-boolean v3, Lcom/estrongs/android/pop/utils/n;->g:Z
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    .line 99
    :catch_0
    :try_start_2
    monitor-exit v2
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_0

    .line 100
    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result p0

    if-lez p0, :cond_1

    .line 101
    new-instance p0, Lcom/estrongs/android/pop/utils/n$b;

    invoke-direct {p0, v0}, Lcom/estrongs/android/pop/utils/n$b;-><init>(Ljava/util/List;)V

    invoke-static {p0}, Lcom/estrongs/android/util/o;->a(Ljava/lang/Runnable;)V

    :cond_1
    return-object v1

    :catchall_0
    move-exception p0

    .line 102
    :try_start_3
    monitor-exit v2
    :try_end_3
    .catchall {:try_start_3 .. :try_end_3} :catchall_0

    goto :goto_2

    :goto_1
    throw p0

    :goto_2
    goto :goto_1
.end method

.method private a(Lcom/estrongs/android/pop/utils/n$f;Ljava/io/InputStream;Lcom/estrongs/android/pop/utils/n$h;)V
    .locals 9

    const/4 v0, 0x0

    const/4 v1, 0x1

    if-nez p1, :cond_0

    const/4 v2, 0x1

    goto :goto_0

    :cond_0
    const/4 v2, 0x0

    :goto_0
    const/4 v3, 0x0

    if-nez p1, :cond_1

    .line 164
    :try_start_0
    new-instance v3, Lcom/estrongs/android/pop/utils/n$f;

    const-string v4, "root"

    invoke-direct {v3, v4, v0, v1}, Lcom/estrongs/android/pop/utils/n$f;-><init>(Ljava/lang/String;ZZ)V

    move-object p1, v3

    .line 165
    :cond_1
    invoke-direct {p0, p2}, Lcom/estrongs/android/pop/utils/n;->b(Ljava/io/InputStream;)I

    move-result v4

    if-eqz v3, :cond_4

    .line 166
    invoke-virtual {p1, v3}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_4

    if-eqz p3, :cond_2

    .line 167
    iput v0, p3, Lcom/estrongs/android/pop/utils/n$h;->b:I

    :cond_2
    const/4 v3, -0x1

    if-ne v4, v3, :cond_3

    .line 168
    invoke-direct {p0, p2}, Lcom/estrongs/android/pop/utils/n;->b(Ljava/io/InputStream;)I

    move-result v4

    if-eqz p3, :cond_4

    .line 169
    iput-boolean v1, p3, Lcom/estrongs/android/pop/utils/n$h;->a:Z

    goto :goto_1

    .line 170
    :cond_3
    sput-boolean v1, Lcom/estrongs/android/pop/utils/n;->g:Z

    .line 171
    :cond_4
    :goto_1
    invoke-direct {p0, p2, v4}, Lcom/estrongs/android/pop/utils/n;->a(Ljava/io/InputStream;I)Ljava/lang/String;

    move-result-object v3

    .line 172
    invoke-direct {p0, p2}, Lcom/estrongs/android/pop/utils/n;->a(Ljava/io/InputStream;)Z

    move-result v4

    .line 173
    invoke-direct {p0, p2}, Lcom/estrongs/android/pop/utils/n;->a(Ljava/io/InputStream;)Z

    move-result v5

    .line 174
    invoke-direct {p0, p2}, Lcom/estrongs/android/pop/utils/n;->b(Ljava/io/InputStream;)I

    move-result v6

    if-eqz p3, :cond_5

    .line 175
    iget-boolean v7, p3, Lcom/estrongs/android/pop/utils/n$h;->a:Z

    if-eqz v7, :cond_5

    iget v7, p3, Lcom/estrongs/android/pop/utils/n$h;->b:I

    const/4 v8, 0x2

    if-ne v7, v8, :cond_5

    .line 176
    invoke-direct {p0, v3}, Lcom/estrongs/android/pop/utils/n;->f(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    .line 177
    :cond_5
    iput-object v3, p1, Lcom/estrongs/android/pop/utils/n$f;->a:Ljava/lang/String;

    .line 178
    iput-boolean v4, p1, Lcom/estrongs/android/pop/utils/n$f;->b:Z

    .line 179
    iput-boolean v5, p1, Lcom/estrongs/android/pop/utils/n$f;->c:Z

    if-lez v6, :cond_6

    .line 180
    iget-object v3, p1, Lcom/estrongs/android/pop/utils/n$f;->d:Ljava/util/ArrayList;

    if-nez v3, :cond_6

    .line 181
    new-instance v3, Ljava/util/ArrayList;

    invoke-direct {v3}, Ljava/util/ArrayList;-><init>()V

    iput-object v3, p1, Lcom/estrongs/android/pop/utils/n$f;->d:Ljava/util/ArrayList;

    :cond_6
    if-eqz p3, :cond_7

    .line 182
    iget v3, p3, Lcom/estrongs/android/pop/utils/n$h;->b:I

    add-int/2addr v3, v1

    iput v3, p3, Lcom/estrongs/android/pop/utils/n$h;->b:I

    :cond_7
    const/4 v3, 0x0

    :goto_2
    if-ge v3, v6, :cond_8

    .line 183
    new-instance v4, Lcom/estrongs/android/pop/utils/n$f;

    const-string v7, ""

    invoke-direct {v4, v7, v0, v5}, Lcom/estrongs/android/pop/utils/n$f;-><init>(Ljava/lang/String;ZZ)V

    .line 184
    invoke-direct {p0, v4, p2, p3}, Lcom/estrongs/android/pop/utils/n;->a(Lcom/estrongs/android/pop/utils/n$f;Ljava/io/InputStream;Lcom/estrongs/android/pop/utils/n$h;)V

    .line 185
    iget-object v7, p1, Lcom/estrongs/android/pop/utils/n$f;->d:Ljava/util/ArrayList;

    invoke-virtual {v7, v4}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    add-int/lit8 v3, v3, 0x1

    goto :goto_2

    :cond_8
    if-eqz p3, :cond_9

    .line 186
    iget p2, p3, Lcom/estrongs/android/pop/utils/n$h;->b:I

    sub-int/2addr p2, v1

    iput p2, p3, Lcom/estrongs/android/pop/utils/n$h;->b:I
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    :cond_9
    if-eqz v2, :cond_a

    goto :goto_3

    :catchall_0
    move-exception p2

    goto :goto_4

    :catch_0
    move-exception p2

    .line 187
    :try_start_1
    invoke-virtual {p2}, Ljava/lang/Exception;->printStackTrace()V
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    if-eqz v2, :cond_a

    .line 188
    :goto_3
    iput-object p1, p0, Lcom/estrongs/android/pop/utils/n;->a:Lcom/estrongs/android/pop/utils/n$f;

    :cond_a
    return-void

    :goto_4
    if-eqz v2, :cond_b

    iput-object p1, p0, Lcom/estrongs/android/pop/utils/n;->a:Lcom/estrongs/android/pop/utils/n$f;

    .line 189
    :cond_b
    goto :goto_6

    :goto_5
    throw p2

    :goto_6
    goto :goto_5
.end method

.method private a(Lcom/estrongs/android/pop/utils/n$f;Ljava/io/OutputStream;Lcom/estrongs/android/pop/utils/n$j;)V
    .locals 7

    const-string v0, " "

    const/4 v1, 0x0

    if-nez p1, :cond_0

    .line 146
    :try_start_0
    iget-object p1, p0, Lcom/estrongs/android/pop/utils/n;->a:Lcom/estrongs/android/pop/utils/n$f;

    if-eqz p3, :cond_0

    .line 147
    iput v1, p3, Lcom/estrongs/android/pop/utils/n$j;->b:I

    .line 148
    :cond_0
    iget-object v2, p0, Lcom/estrongs/android/pop/utils/n;->a:Lcom/estrongs/android/pop/utils/n$f;

    invoke-virtual {p1, v2}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_1

    const-string v2, "-1 "

    .line 149
    invoke-virtual {v2}, Ljava/lang/String;->getBytes()[B

    move-result-object v2

    invoke-virtual {p2, v2}, Ljava/io/OutputStream;->write([B)V

    .line 150
    :cond_1
    iget-object v2, p1, Lcom/estrongs/android/pop/utils/n$f;->d:Ljava/util/ArrayList;

    if-nez v2, :cond_2

    const/4 v2, 0x0

    goto :goto_0

    :cond_2
    iget-object v2, p1, Lcom/estrongs/android/pop/utils/n$f;->d:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v2

    .line 151
    :goto_0
    iget-object v3, p1, Lcom/estrongs/android/pop/utils/n$f;->a:Ljava/lang/String;

    if-eqz p3, :cond_3

    .line 152
    iget-boolean v4, p3, Lcom/estrongs/android/pop/utils/n$j;->a:Z

    if-eqz v4, :cond_3

    iget v4, p3, Lcom/estrongs/android/pop/utils/n$j;->b:I

    const/4 v5, 0x2

    if-ne v4, v5, :cond_3

    .line 153
    invoke-direct {p0, v3}, Lcom/estrongs/android/pop/utils/n;->i(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    .line 154
    :cond_3
    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v3}, Ljava/lang/String;->getBytes()[B

    move-result-object v5

    array-length v5, v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v4, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v4, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v3, ""

    invoke-virtual {v4, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-boolean v3, p1, Lcom/estrongs/android/pop/utils/n$f;->b:Z
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    const-string v5, "1"

    const-string v6, "0"

    if-eqz v3, :cond_4

    move-object v3, v5

    goto :goto_1

    :cond_4
    move-object v3, v6

    :goto_1
    :try_start_1
    invoke-virtual {v4, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-boolean v3, p1, Lcom/estrongs/android/pop/utils/n$f;->c:Z

    if-eqz v3, :cond_5

    goto :goto_2

    :cond_5
    move-object v5, v6

    :goto_2
    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v4, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v4, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 155
    invoke-virtual {v0}, Ljava/lang/String;->getBytes()[B

    move-result-object v0

    invoke-virtual {p2, v0}, Ljava/io/OutputStream;->write([B)V

    if-eqz p3, :cond_6

    .line 156
    iget v0, p3, Lcom/estrongs/android/pop/utils/n$j;->b:I

    add-int/lit8 v0, v0, 0x1

    iput v0, p3, Lcom/estrongs/android/pop/utils/n$j;->b:I

    :cond_6
    :goto_3
    if-ge v1, v2, :cond_7

    .line 157
    iget-object v0, p1, Lcom/estrongs/android/pop/utils/n$f;->d:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/estrongs/android/pop/utils/n$f;

    invoke-direct {p0, v0, p2, p3}, Lcom/estrongs/android/pop/utils/n;->a(Lcom/estrongs/android/pop/utils/n$f;Ljava/io/OutputStream;Lcom/estrongs/android/pop/utils/n$j;)V

    add-int/lit8 v1, v1, 0x1

    goto :goto_3

    :cond_7
    if-eqz p3, :cond_8

    .line 158
    iget p1, p3, Lcom/estrongs/android/pop/utils/n$j;->b:I

    add-int/lit8 p1, p1, -0x1

    iput p1, p3, Lcom/estrongs/android/pop/utils/n$j;->b:I
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0

    goto :goto_4

    :catch_0
    move-exception p1

    .line 159
    invoke-virtual {p1}, Ljava/lang/Exception;->printStackTrace()V

    :cond_8
    :goto_4
    return-void
.end method

.method private a(Lcom/estrongs/android/pop/utils/n$f;Ljava/util/ArrayList;Ljava/lang/String;Ljava/lang/String;I)V
    .locals 8
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Lcom/estrongs/android/pop/utils/n$f;",
            "Ljava/util/ArrayList<",
            "Lcom/estrongs/android/pop/utils/n$g;",
            ">;",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            "I)V"
        }
    .end annotation

    const-string v0, "/"

    if-nez p3, :cond_0

    .line 193
    iget-object p3, p1, Lcom/estrongs/android/pop/utils/n$f;->a:Ljava/lang/String;

    goto :goto_1

    .line 194
    :cond_0
    invoke-virtual {p3, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_1

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    goto :goto_0

    :cond_1
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    :goto_0
    iget-object p3, p1, Lcom/estrongs/android/pop/utils/n$f;->a:Ljava/lang/String;

    invoke-virtual {v1, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p3

    :goto_1
    const/4 v1, 0x0

    const/4 v7, 0x1

    if-ne p5, v7, :cond_2

    .line 195
    iget-object v2, p1, Lcom/estrongs/android/pop/utils/n$f;->a:Ljava/lang/String;

    const-string v3, "local"

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_2

    .line 196
    new-instance p4, Ljava/lang/StringBuilder;

    invoke-direct {p4}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v0, p1, Lcom/estrongs/android/pop/utils/n$f;->a:Ljava/lang/String;

    invoke-virtual {p4, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v0, "://"

    invoke-virtual {p4, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    goto :goto_3

    :cond_2
    const/4 v2, 0x2

    if-ne p5, v2, :cond_5

    if-eqz p4, :cond_4

    .line 197
    iget-object v0, p1, Lcom/estrongs/android/pop/utils/n$f;->a:Ljava/lang/String;

    const/16 v1, 0x40

    invoke-virtual {v0, v1}, Ljava/lang/String;->lastIndexOf(I)I

    move-result v0

    if-lez v0, :cond_3

    .line 198
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1, p4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object p4, p1, Lcom/estrongs/android/pop/utils/n$f;->a:Ljava/lang/String;

    add-int/2addr v0, v7

    invoke-virtual {p4, v0}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object p4

    invoke-virtual {v1, p4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p4

    goto :goto_2

    .line 199
    :cond_3
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v0, p4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object p4, p1, Lcom/estrongs/android/pop/utils/n$f;->a:Ljava/lang/String;

    invoke-virtual {v0, p4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p4

    :goto_2
    move-object v1, p4

    goto :goto_3

    .line 200
    :cond_4
    new-instance p4, Ljava/lang/StringBuilder;

    invoke-direct {p4}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p4, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v0, p1, Lcom/estrongs/android/pop/utils/n$f;->a:Ljava/lang/String;

    invoke-virtual {p4, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    goto :goto_3

    :cond_5
    if-le p5, v2, :cond_6

    .line 201
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1, p4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object p4, p1, Lcom/estrongs/android/pop/utils/n$f;->a:Ljava/lang/String;

    invoke-virtual {v1, p4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    :cond_6
    :goto_3
    move-object p4, v1

    .line 202
    iget-boolean v0, p1, Lcom/estrongs/android/pop/utils/n$f;->b:Z

    if-eqz v0, :cond_7

    .line 203
    new-instance v0, Lcom/estrongs/android/pop/utils/n$g;

    iget-boolean v1, p1, Lcom/estrongs/android/pop/utils/n$f;->c:Z

    invoke-direct {v0, p3, v1, p4}, Lcom/estrongs/android/pop/utils/n$g;-><init>(Ljava/lang/String;ZLjava/lang/String;)V

    invoke-virtual {p2, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 204
    :cond_7
    iget-object v0, p1, Lcom/estrongs/android/pop/utils/n$f;->d:Ljava/util/ArrayList;

    if-eqz v0, :cond_9

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-nez v0, :cond_8

    goto :goto_5

    :cond_8
    const/4 v0, 0x0

    .line 205
    :goto_4
    iget-object v1, p1, Lcom/estrongs/android/pop/utils/n$f;->d:Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-ge v0, v1, :cond_9

    .line 206
    iget-object v1, p1, Lcom/estrongs/android/pop/utils/n$f;->d:Ljava/util/ArrayList;

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    move-object v2, v1

    check-cast v2, Lcom/estrongs/android/pop/utils/n$f;

    add-int/lit8 v6, p5, 0x1

    move-object v1, p0

    move-object v3, p2

    move-object v4, p3

    move-object v5, p4

    invoke-direct/range {v1 .. v6}, Lcom/estrongs/android/pop/utils/n;->a(Lcom/estrongs/android/pop/utils/n$f;Ljava/util/ArrayList;Ljava/lang/String;Ljava/lang/String;I)V

    add-int/lit8 v0, v0, 0x1

    goto :goto_4

    :cond_9
    :goto_5
    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/pop/utils/n;Ljava/io/File;Ljava/util/List;)V
    .locals 0

    .line 1
    invoke-direct {p0, p1, p2}, Lcom/estrongs/android/pop/utils/n;->a(Ljava/io/File;Ljava/util/List;)V

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/pop/utils/n;Ljava/lang/String;Ljava/util/List;Z)V
    .locals 0

    .line 5
    invoke-direct {p0, p1, p2, p3}, Lcom/estrongs/android/pop/utils/n;->a(Ljava/lang/String;Ljava/util/List;Z)V

    return-void
.end method

.method private a(Ljava/io/File;Ljava/util/List;)V
    .locals 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/io/File;",
            "Ljava/util/List<",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation

    .line 26
    invoke-virtual {p1}, Ljava/io/File;->isDirectory()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 27
    invoke-virtual {p1}, Ljava/io/File;->listFiles()[Ljava/io/File;

    move-result-object p1

    if-eqz p1, :cond_1

    .line 28
    array-length v0, p1

    const/4 v1, 0x0

    :goto_0
    if-ge v1, v0, :cond_1

    aget-object v2, p1, v1

    .line 29
    invoke-direct {p0, v2, p2}, Lcom/estrongs/android/pop/utils/n;->a(Ljava/io/File;Ljava/util/List;)V

    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    .line 30
    :cond_0
    invoke-virtual {p1}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

    move-result-object p1

    invoke-interface {p2, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :cond_1
    return-void
.end method

.method static synthetic a(Ljava/lang/String;)V
    .locals 0

    .line 4
    invoke-static {p0}, Lcom/estrongs/android/pop/utils/n;->g(Ljava/lang/String;)V

    return-void
.end method

.method public static a(Ljava/lang/String;I)V
    .locals 6

    .line 6
    sget-object v0, Lcom/estrongs/android/pop/utils/n;->f:Ljava/util/Set;

    monitor-enter v0

    .line 7
    :try_start_0
    sget-object v1, Lcom/estrongs/android/pop/utils/n;->f:Ljava/util/Set;

    invoke-interface {v1}, Ljava/util/Set;->size()I

    move-result v1

    if-nez v1, :cond_0

    monitor-exit v0

    return-void

    .line 8
    :cond_0
    invoke-static {p0}, Lcom/estrongs/android/pop/utils/n;->k(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p0

    .line 9
    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    .line 10
    sget-object v2, Lcom/estrongs/android/pop/utils/n;->f:Ljava/util/Set;

    invoke-interface {v2}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :cond_1
    :goto_0
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v3

    if-eqz v3, :cond_2

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lcom/estrongs/android/pop/utils/n$i;

    .line 11
    iget v4, v3, Lcom/estrongs/android/pop/utils/n$i;->b:I

    if-ne v4, p1, :cond_1

    iget-object v4, v3, Lcom/estrongs/android/pop/utils/n$i;->a:Ljava/lang/String;

    .line 12
    invoke-virtual {v4}, Ljava/lang/String;->length()I

    move-result v4

    add-int/lit8 v4, v4, -0x1

    invoke-virtual {p0}, Ljava/lang/String;->length()I

    move-result v5

    if-le v4, v5, :cond_1

    iget-object v4, v3, Lcom/estrongs/android/pop/utils/n$i;->a:Ljava/lang/String;

    .line 13
    invoke-virtual {v4, p0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_1

    .line 14
    invoke-virtual {v1, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto :goto_0

    :cond_2
    const/4 p0, 0x0

    .line 15
    :goto_1
    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result p1

    if-ge p0, p1, :cond_3

    .line 16
    sget-object p1, Lcom/estrongs/android/pop/utils/n;->f:Ljava/util/Set;

    invoke-virtual {v1, p0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v2

    invoke-interface {p1, v2}, Ljava/util/Set;->remove(Ljava/lang/Object;)Z

    add-int/lit8 p0, p0, 0x1

    goto :goto_1

    .line 17
    :cond_3
    monitor-exit v0

    return-void

    :catchall_0
    move-exception p0

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    goto :goto_3

    :goto_2
    throw p0

    :goto_3
    goto :goto_2
.end method

.method private static a(Ljava/lang/String;Ljava/util/List;)V
    .locals 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            "Ljava/util/List<",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation

    .line 103
    sget-object v0, Lcom/estrongs/android/pop/utils/n;->i:Ljava/lang/Object;

    monitor-enter v0

    .line 104
    :try_start_0
    invoke-static {p0}, Lcom/estrongs/android/pop/utils/n;->l(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    .line 105
    invoke-static {v1}, Lcom/estrongs/android/pop/utils/n;->c(Ljava/lang/String;)Z

    move-result v1

    .line 106
    sget-object v2, Lcom/estrongs/android/pop/utils/n;->j:Lcom/estrongs/android/pop/utils/n;

    invoke-direct {v2, p0, p1, v1}, Lcom/estrongs/android/pop/utils/n;->a(Ljava/lang/String;Ljava/util/List;Z)V

    .line 107
    monitor-exit v0

    return-void

    :catchall_0
    move-exception p0

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw p0
.end method

.method private a(Ljava/lang/String;Ljava/util/List;Z)V
    .locals 7
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            "Ljava/util/List<",
            "Ljava/lang/String;",
            ">;Z)V"
        }
    .end annotation

    if-eqz p3, :cond_0

    .line 59
    invoke-static {p1}, Lcom/estrongs/android/pop/utils/n;->l(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p3

    invoke-direct {p0, p3, p2}, Lcom/estrongs/android/pop/utils/n;->b(Ljava/lang/String;Ljava/util/List;)V

    :cond_0
    const-string p2, "/"

    .line 60
    invoke-virtual {p1, p2}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object p1

    .line 61
    iget-object p2, p0, Lcom/estrongs/android/pop/utils/n;->a:Lcom/estrongs/android/pop/utils/n$f;

    const/4 p3, 0x1

    const/4 v0, 0x1

    .line 62
    :goto_0
    array-length v1, p1

    if-ge v0, v1, :cond_8

    .line 63
    iget-object v1, p2, Lcom/estrongs/android/pop/utils/n$f;->d:Ljava/util/ArrayList;

    if-nez v1, :cond_1

    return-void

    .line 64
    :cond_1
    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    const/4 v2, 0x0

    const/4 v3, 0x0

    .line 65
    :goto_1
    iget-object v4, p2, Lcom/estrongs/android/pop/utils/n$f;->d:Ljava/util/ArrayList;

    invoke-virtual {v4}, Ljava/util/ArrayList;->size()I

    move-result v4

    if-ge v3, v4, :cond_6

    .line 66
    iget-object v4, p2, Lcom/estrongs/android/pop/utils/n$f;->d:Ljava/util/ArrayList;

    invoke-virtual {v4, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lcom/estrongs/android/pop/utils/n$f;

    .line 67
    aget-object v5, p1, v0

    iget-object v6, v4, Lcom/estrongs/android/pop/utils/n$f;->a:Ljava/lang/String;

    invoke-virtual {v5, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v5

    if-eqz v5, :cond_5

    .line 68
    array-length v5, p1

    sub-int/2addr v5, p3

    if-ne v0, v5, :cond_4

    .line 69
    iget-object v5, v4, Lcom/estrongs/android/pop/utils/n$f;->d:Ljava/util/ArrayList;

    if-eqz v5, :cond_3

    invoke-virtual {v5}, Ljava/util/ArrayList;->size()I

    move-result v5

    if-nez v5, :cond_2

    goto :goto_2

    .line 70
    :cond_2
    iput-boolean v2, v4, Lcom/estrongs/android/pop/utils/n$f;->b:Z

    goto :goto_3

    .line 71
    :cond_3
    :goto_2
    iget-object v2, p2, Lcom/estrongs/android/pop/utils/n$f;->d:Ljava/util/ArrayList;

    invoke-virtual {v2, v3}, Ljava/util/ArrayList;->remove(I)Ljava/lang/Object;

    .line 72
    :goto_3
    sput-boolean p3, Lcom/estrongs/android/pop/utils/n;->g:Z

    goto :goto_4

    .line 73
    :cond_4
    iget-object p2, p2, Lcom/estrongs/android/pop/utils/n$f;->d:Ljava/util/ArrayList;

    invoke-virtual {p2, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object p2

    check-cast p2, Lcom/estrongs/android/pop/utils/n$f;

    goto :goto_4

    :cond_5
    add-int/lit8 v3, v3, 0x1

    goto :goto_1

    :cond_6
    :goto_4
    if-lt v3, v1, :cond_7

    return-void

    :cond_7
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    .line 74
    :cond_8
    sget-boolean p1, Lcom/estrongs/android/pop/utils/n;->g:Z

    if-eqz p1, :cond_9

    .line 75
    sget-object p1, Lcom/estrongs/android/pop/utils/n;->j:Lcom/estrongs/android/pop/utils/n;

    invoke-direct {p1}, Lcom/estrongs/android/pop/utils/n;->g()V

    :cond_9
    return-void
.end method

.method private a(Ljava/lang/String;ZLjava/util/List;)V
    .locals 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            "Z",
            "Ljava/util/List<",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation

    if-eqz p1, :cond_3

    const-string v0, "/"

    .line 20
    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_3

    invoke-static {p1}, Lcom/estrongs/android/util/h0;->V1(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_3

    .line 21
    invoke-virtual {p1, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_3

    if-nez p2, :cond_0

    goto :goto_0

    .line 22
    :cond_0
    invoke-virtual {p1, v0}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result p2

    if-nez p2, :cond_1

    .line 23
    new-instance p2, Ljava/lang/StringBuilder;

    invoke-direct {p2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    .line 24
    :cond_1
    invoke-direct {p0, p1}, Lcom/estrongs/android/pop/utils/n;->d(Ljava/lang/String;)Z

    move-result p2

    if-eqz p2, :cond_2

    return-void

    :cond_2
    if-eqz p3, :cond_3

    .line 25
    invoke-interface {p3, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :cond_3
    :goto_0
    return-void
.end method

.method private a(Ljava/util/List;Ljava/util/List;)V
    .locals 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Ljava/lang/String;",
            ">;",
            "Ljava/util/List<",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation

    .line 190
    invoke-direct {p0, p1}, Lcom/estrongs/android/pop/utils/n;->b(Ljava/util/List;)[Lcom/estrongs/android/pop/utils/n$g;

    move-result-object p1

    const/4 v0, 0x0

    .line 191
    :goto_0
    array-length v1, p1

    if-ge v0, v1, :cond_0

    .line 192
    aget-object v1, p1, v0

    iget-object v1, v1, Lcom/estrongs/android/pop/utils/n$g;->b:Ljava/lang/String;

    invoke-static {v1, p2}, Lcom/estrongs/android/pop/utils/n;->a(Ljava/lang/String;Ljava/util/List;)V

    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :cond_0
    return-void
.end method

.method public static a(Lcom/estrongs/android/pop/utils/n$f;Lcom/estrongs/fs/g;I)Z
    .locals 4

    const/4 v0, 0x0

    if-eqz p0, :cond_5

    .line 132
    iget-object v1, p0, Lcom/estrongs/android/pop/utils/n$f;->d:Ljava/util/ArrayList;

    if-nez v1, :cond_0

    goto :goto_1

    .line 133
    :cond_0
    invoke-interface {p1}, Lcom/estrongs/fs/g;->getName()Ljava/lang/String;

    move-result-object v1

    .line 134
    invoke-interface {p1}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object p1

    const-string v2, "/"

    .line 135
    invoke-virtual {v1, v2}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v2

    const/4 v3, 0x1

    if-eqz v2, :cond_1

    .line 136
    invoke-virtual {v1}, Ljava/lang/String;->length()I

    move-result v2

    sub-int/2addr v2, v3

    invoke-virtual {v1, v0, v2}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v1

    .line 137
    :cond_1
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->y1(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_3

    invoke-static {p1}, Lcom/estrongs/android/util/h0;->X1(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_2

    invoke-static {p1}, Lcom/estrongs/android/util/h0;->Z1(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_3

    .line 138
    :cond_2
    sget-object v2, Lcom/estrongs/android/pop/utils/n;->j:Lcom/estrongs/android/pop/utils/n;

    invoke-direct {v2, p1}, Lcom/estrongs/android/pop/utils/n;->j(Ljava/lang/String;)Lcom/estrongs/android/pop/utils/n$d;

    move-result-object p1

    .line 139
    iget-boolean v2, p1, Lcom/estrongs/android/pop/utils/n$d;->b:Z

    if-eqz v2, :cond_3

    .line 140
    iget-object v2, p1, Lcom/estrongs/android/pop/utils/n$d;->a:Ljava/lang/String;

    invoke-static {v2}, Lcom/estrongs/android/util/h0;->M(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-static {v2, p2}, Lcom/estrongs/android/pop/utils/n;->b(Ljava/lang/String;I)Lcom/estrongs/android/pop/utils/n$f;

    move-result-object p2

    if-eqz p2, :cond_3

    .line 141
    iget-object v2, p2, Lcom/estrongs/android/pop/utils/n$f;->d:Ljava/util/ArrayList;

    if-eqz v2, :cond_3

    .line 142
    iget-object p0, p1, Lcom/estrongs/android/pop/utils/n$d;->a:Ljava/lang/String;

    invoke-static {p0}, Lcom/estrongs/android/util/h0;->y(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    move-object p0, p2

    :cond_3
    const/4 p1, 0x0

    .line 143
    :goto_0
    iget-object p2, p0, Lcom/estrongs/android/pop/utils/n$f;->d:Ljava/util/ArrayList;

    invoke-virtual {p2}, Ljava/util/ArrayList;->size()I

    move-result p2

    if-ge p1, p2, :cond_5

    .line 144
    iget-object p2, p0, Lcom/estrongs/android/pop/utils/n$f;->d:Ljava/util/ArrayList;

    invoke-virtual {p2, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object p2

    check-cast p2, Lcom/estrongs/android/pop/utils/n$f;

    .line 145
    iget-boolean v2, p2, Lcom/estrongs/android/pop/utils/n$f;->b:Z

    if-eqz v2, :cond_4

    iget-object p2, p2, Lcom/estrongs/android/pop/utils/n$f;->a:Ljava/lang/String;

    invoke-virtual {p2, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p2

    if-eqz p2, :cond_4

    return v3

    :cond_4
    add-int/lit8 p1, p1, 0x1

    goto :goto_0

    :cond_5
    :goto_1
    return v0
.end method

.method static synthetic a(Lcom/estrongs/android/pop/utils/n;Ljava/lang/String;)Z
    .locals 0

    .line 3
    invoke-direct {p0, p1}, Lcom/estrongs/android/pop/utils/n;->e(Ljava/lang/String;)Z

    move-result p0

    return p0
.end method

.method private static a(Lcom/estrongs/fs/g;)Z
    .locals 1

    .line 76
    instance-of v0, p0, Lcom/estrongs/fs/impl/local/d;

    if-eqz v0, :cond_1

    invoke-interface {p0}, Lcom/estrongs/fs/g;->i()Lcom/estrongs/fs/l;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/fs/l;->b()Z

    move-result v0

    if-nez v0, :cond_0

    goto :goto_0

    .line 77
    :cond_0
    invoke-interface {p0}, Lcom/estrongs/fs/g;->getName()Ljava/lang/String;

    move-result-object v0

    invoke-interface {p0}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object p0

    invoke-static {v0, p0}, Lcom/estrongs/android/pop/utils/n;->a(Ljava/lang/String;Ljava/lang/String;)Z

    move-result p0

    return p0

    :cond_1
    :goto_0
    const/4 p0, 0x1

    return p0
.end method

.method private a(Ljava/io/InputStream;)Z
    .locals 1
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .line 160
    invoke-virtual {p1}, Ljava/io/InputStream;->read()I

    move-result p1

    const/16 v0, 0x30

    if-eq p1, v0, :cond_0

    const/4 p1, 0x1

    goto :goto_0

    :cond_0
    const/4 p1, 0x0

    :goto_0
    return p1
.end method

.method private static a(Ljava/lang/String;Ljava/lang/String;)Z
    .locals 3

    const-string v0, "Android"

    .line 78
    invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    const/4 v1, 0x1

    if-nez v0, :cond_0

    const-string v0, "DCIM"

    invoke-virtual {p0, v0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result p0

    if-eqz p0, :cond_4

    .line 79
    :cond_0
    new-instance p0, Ljava/io/File;

    invoke-direct {p0, p1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 80
    invoke-virtual {p0}, Ljava/io/File;->getParent()Ljava/lang/String;

    move-result-object p0

    if-nez p0, :cond_1

    return v1

    .line 81
    :cond_1
    invoke-static {p0}, Lcom/estrongs/android/util/h0;->c(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p0

    const-string p1, "/"

    .line 82
    invoke-virtual {p0, p1}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_2

    .line 83
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p0

    .line 84
    :cond_2
    invoke-static {}, Lcom/estrongs/android/pop/c;->b()Ljava/lang/String;

    move-result-object v0

    .line 85
    invoke-virtual {v0, p1}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v2

    if-nez v2, :cond_3

    .line 86
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    .line 87
    :cond_3
    invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p0

    if-eqz p0, :cond_4

    const/4 p0, 0x0

    return p0

    :cond_4
    return v1
.end method

.method private a(Ljava/util/ArrayList;Ljava/util/List;)[Lcom/estrongs/android/pop/utils/n$g;
    .locals 8
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/ArrayList<",
            "Lcom/estrongs/android/pop/utils/n$g;",
            ">;",
            "Ljava/util/List<",
            "Ljava/lang/String;",
            ">;)[",
            "Lcom/estrongs/android/pop/utils/n$g;"
        }
    .end annotation

    .line 207
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    const/4 v1, 0x0

    const/4 v2, 0x0

    .line 208
    :goto_0
    invoke-virtual {p1}, Ljava/util/ArrayList;->size()I

    move-result v3

    if-ge v2, v3, :cond_5

    .line 209
    invoke-virtual {p1, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lcom/estrongs/android/pop/utils/n$g;

    .line 210
    iget-object v4, v3, Lcom/estrongs/android/pop/utils/n$g;->b:Ljava/lang/String;

    const-string v5, "root/local"

    invoke-virtual {v4, v5}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_0

    iget-object v4, v3, Lcom/estrongs/android/pop/utils/n$g;->b:Ljava/lang/String;

    invoke-static {v4}, Lcom/estrongs/android/util/h0;->B2(Ljava/lang/String;)Z

    move-result v4

    if-nez v4, :cond_0

    .line 211
    new-instance v4, Ljava/io/File;

    iget-object v5, v3, Lcom/estrongs/android/pop/utils/n$g;->c:Ljava/lang/String;

    invoke-direct {v4, v5}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 212
    invoke-virtual {v4}, Ljava/io/File;->exists()Z

    move-result v4

    if-nez v4, :cond_0

    .line 213
    iget-object v3, v3, Lcom/estrongs/android/pop/utils/n$g;->b:Ljava/lang/String;

    invoke-static {v3}, Lcom/estrongs/android/pop/utils/n;->o(Ljava/lang/String;)V

    goto :goto_2

    :cond_0
    if-eqz p2, :cond_4

    .line 214
    invoke-interface {p2}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v4

    :cond_1
    invoke-interface {v4}, Ljava/util/Iterator;->hasNext()Z

    move-result v5

    const/4 v6, 0x1

    if-eqz v5, :cond_3

    invoke-interface {v4}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Ljava/lang/String;

    const-string v7, "/"

    .line 215
    invoke-virtual {v5, v7}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v7

    if-eqz v7, :cond_2

    .line 216
    invoke-virtual {v5}, Ljava/lang/String;->length()I

    move-result v7

    sub-int/2addr v7, v6

    invoke-virtual {v5, v1, v7}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v5

    .line 217
    :cond_2
    invoke-direct {p0, v5}, Lcom/estrongs/android/pop/utils/n;->j(Ljava/lang/String;)Lcom/estrongs/android/pop/utils/n$d;

    move-result-object v5

    .line 218
    iget-object v5, v5, Lcom/estrongs/android/pop/utils/n$d;->a:Ljava/lang/String;

    .line 219
    iget-object v7, v3, Lcom/estrongs/android/pop/utils/n$g;->c:Ljava/lang/String;

    invoke-virtual {v5, v7}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v5

    if-eqz v5, :cond_1

    goto :goto_1

    :cond_3
    const/4 v6, 0x0

    :goto_1
    if-eqz v6, :cond_4

    goto :goto_2

    .line 220
    :cond_4
    invoke-virtual {v0, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    :goto_2
    add-int/lit8 v2, v2, 0x1

    goto :goto_0

    .line 221
    :cond_5
    invoke-virtual {p1}, Ljava/util/ArrayList;->size()I

    move-result p1

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result p2

    if-eq p1, p2, :cond_6

    .line 222
    invoke-static {}, Lcom/estrongs/android/pop/utils/n;->i()V

    .line 223
    :cond_6
    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result p1

    new-array p1, p1, [Lcom/estrongs/android/pop/utils/n$g;

    .line 224
    :goto_3
    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result p2

    if-ge v1, p2, :cond_7

    .line 225
    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object p2

    check-cast p2, Lcom/estrongs/android/pop/utils/n$g;

    aput-object p2, p1, v1

    add-int/lit8 v1, v1, 0x1

    goto :goto_3

    :cond_7
    return-object p1
.end method

.method public static a([Lcom/estrongs/android/pop/utils/n$g;)[Ljava/lang/String;
    .locals 3

    .line 226
    array-length v0, p0

    new-array v0, v0, [Ljava/lang/String;

    const/4 v1, 0x0

    .line 227
    :goto_0
    array-length v2, p0

    if-ge v1, v2, :cond_0

    .line 228
    aget-object v2, p0, v1

    iget-object v2, v2, Lcom/estrongs/android/pop/utils/n$g;->b:Ljava/lang/String;

    invoke-static {v2}, Lcom/estrongs/android/pop/utils/n;->l(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    aput-object v2, v0, v1

    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    :cond_0
    return-object v0
.end method

.method private b(Ljava/io/InputStream;)I
    .locals 5
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    const/16 v0, 0x200

    new-array v0, v0, [B

    const/4 v1, 0x0

    const/4 v2, 0x0

    .line 23
    :goto_0
    invoke-virtual {p1}, Ljava/io/InputStream;->read()I

    move-result v3

    and-int/lit16 v3, v3, 0xff

    int-to-byte v3, v3

    aput-byte v3, v0, v2

    .line 24
    aget-byte v3, v0, v2

    const/16 v4, 0x20

    if-ne v3, v4, :cond_0

    .line 25
    aput-byte v1, v0, v2

    .line 26
    new-instance p1, Ljava/lang/String;

    invoke-direct {p1, v0, v1, v2}, Ljava/lang/String;-><init>([BII)V

    .line 27
    :try_start_0
    invoke-static {p1}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result p1
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    return p1

    :catch_0
    return v1

    :cond_0
    add-int/lit8 v2, v2, 0x1

    goto :goto_0
.end method

.method public static b(Ljava/lang/String;I)Lcom/estrongs/android/pop/utils/n$f;
    .locals 3

    .line 20
    sget-object v0, Lcom/estrongs/android/pop/utils/n;->i:Ljava/lang/Object;

    monitor-enter v0

    .line 21
    :try_start_0
    sget-object v1, Lcom/estrongs/android/pop/utils/n;->j:Lcom/estrongs/android/pop/utils/n;

    const/4 v2, 0x0

    invoke-direct {v1, p0, v2, p1}, Lcom/estrongs/android/pop/utils/n;->a(Ljava/lang/String;ZI)Lcom/estrongs/android/pop/utils/n$f;

    move-result-object p0

    monitor-exit v0

    return-object p0

    :catchall_0
    move-exception p0

    .line 22
    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw p0
.end method

.method public static b()V
    .locals 4

    .line 28
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    .line 29
    sget-object v1, Lcom/estrongs/android/pop/utils/n;->i:Ljava/lang/Object;

    monitor-enter v1

    .line 30
    :try_start_0
    sget-object v2, Lcom/estrongs/android/pop/utils/n;->j:Lcom/estrongs/android/pop/utils/n;

    sget-object v3, Lcom/estrongs/android/pop/j;->l:Ljava/util/List;

    invoke-direct {v2, v3, v0}, Lcom/estrongs/android/pop/utils/n;->a(Ljava/util/List;Ljava/util/List;)V

    .line 31
    monitor-exit v1
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 32
    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v1

    if-lez v1, :cond_0

    .line 33
    new-instance v1, Lcom/estrongs/android/pop/utils/n$c;

    invoke-direct {v1, v0}, Lcom/estrongs/android/pop/utils/n$c;-><init>(Ljava/util/List;)V

    invoke-static {v1}, Lcom/estrongs/android/util/o;->a(Ljava/lang/Runnable;)V

    :cond_0
    return-void

    :catchall_0
    move-exception v0

    .line 34
    :try_start_1
    monitor-exit v1
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    throw v0
.end method

.method private b(Ljava/lang/String;Ljava/util/List;)V
    .locals 5
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            "Ljava/util/List<",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation

    if-eqz p1, :cond_6

    const-string v0, "/"

    .line 3
    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_6

    invoke-static {p1}, Lcom/estrongs/android/util/h0;->V1(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_6

    .line 4
    invoke-virtual {p1, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_0

    goto/16 :goto_0

    .line 5
    :cond_0
    new-instance v1, Ljava/io/File;

    invoke-direct {v1, p1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 6
    invoke-virtual {v1}, Ljava/io/File;->isDirectory()Z

    move-result v1

    if-nez v1, :cond_1

    return-void

    .line 7
    :cond_1
    invoke-virtual {p1, v0}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_2

    .line 8
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    .line 9
    :cond_2
    new-instance v0, Ljava/io/File;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v2, ".nomedia"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 10
    invoke-virtual {v0}, Ljava/io/File;->exists()Z

    move-result v1

    if-nez v1, :cond_3

    return-void

    .line 11
    :cond_3
    invoke-virtual {v0}, Ljava/io/File;->length()J

    move-result-wide v0

    sget v2, Lcom/estrongs/android/pop/a;->i:I

    int-to-long v2, v2

    cmp-long v4, v0, v2

    if-eqz v4, :cond_4

    return-void

    :cond_4
    if-eqz p2, :cond_5

    .line 12
    invoke-interface {p2, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_0

    .line 13
    :cond_5
    invoke-static {p1}, Lcom/estrongs/android/pop/utils/n;->h(Ljava/lang/String;)Z

    move-result p2

    if-eqz p2, :cond_6

    .line 14
    new-instance p2, Ljava/lang/StringBuilder;

    invoke-direct {p2}, Ljava/lang/StringBuilder;-><init>()V

    const/4 v0, 0x0

    invoke-virtual {p1}, Ljava/lang/String;->length()I

    move-result v1

    const/4 v2, 0x1

    sub-int/2addr v1, v2

    invoke-virtual {p1, v0, v1}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v0, "_"

    invoke-virtual {p2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    invoke-virtual {p2, v0, v1}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    invoke-virtual {p2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p2

    .line 15
    new-instance v0, Ljava/io/File;

    invoke-direct {v0, p1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    new-instance v1, Ljava/io/File;

    invoke-direct {v1, p2}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0, v1}, Ljava/io/File;->renameTo(Ljava/io/File;)Z

    move-result v0

    if-eqz v0, :cond_6

    .line 16
    invoke-static {p1}, Lcom/estrongs/android/pop/utils/n;->g(Ljava/lang/String;)V

    .line 17
    new-instance v0, Ljava/io/File;

    invoke-direct {v0, p2}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    new-instance p2, Ljava/io/File;

    invoke-direct {p2, p1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0, p2}, Ljava/io/File;->renameTo(Ljava/io/File;)Z

    .line 18
    new-instance p2, Lcom/estrongs/android/pop/utils/n$a;

    invoke-direct {p2, p0, p1}, Lcom/estrongs/android/pop/utils/n$a;-><init>(Lcom/estrongs/android/pop/utils/n;Ljava/lang/String;)V

    .line 19
    invoke-virtual {p2, v2}, Les/s80;->b(Z)V

    :cond_6
    :goto_0
    return-void
.end method

.method static synthetic b(Ljava/lang/String;)Z
    .locals 0

    .line 1
    invoke-static {p0}, Lcom/estrongs/android/pop/utils/n;->h(Ljava/lang/String;)Z

    move-result p0

    return p0
.end method

.method private b(Ljava/util/List;)[Lcom/estrongs/android/pop/utils/n$g;
    .locals 7
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Ljava/lang/String;",
            ">;)[",
            "Lcom/estrongs/android/pop/utils/n$g;"
        }
    .end annotation

    .line 35
    new-instance v6, Ljava/util/ArrayList;

    invoke-direct {v6}, Ljava/util/ArrayList;-><init>()V

    .line 36
    iget-object v1, p0, Lcom/estrongs/android/pop/utils/n;->a:Lcom/estrongs/android/pop/utils/n$f;

    const/4 v3, 0x0

    const/4 v4, 0x0

    const/4 v5, 0x0

    move-object v0, p0

    move-object v2, v6

    invoke-direct/range {v0 .. v5}, Lcom/estrongs/android/pop/utils/n;->a(Lcom/estrongs/android/pop/utils/n$f;Ljava/util/ArrayList;Ljava/lang/String;Ljava/lang/String;I)V

    .line 37
    invoke-direct {p0, v6, p1}, Lcom/estrongs/android/pop/utils/n;->a(Ljava/util/ArrayList;Ljava/util/List;)[Lcom/estrongs/android/pop/utils/n$g;

    move-result-object p1

    return-object p1
.end method

.method public static c()V
    .locals 2

    .line 10
    sget-object v0, Lcom/estrongs/android/pop/utils/n;->f:Ljava/util/Set;

    monitor-enter v0

    .line 11
    :try_start_0
    sget-object v1, Lcom/estrongs/android/pop/utils/n;->f:Ljava/util/Set;

    invoke-interface {v1}, Ljava/util/Set;->clear()V

    .line 12
    monitor-exit v0

    return-void

    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1
.end method

.method private static c(Ljava/lang/String;)Z
    .locals 2

    .line 13
    invoke-static {p0}, Lcom/estrongs/android/util/h0;->y1(Ljava/lang/String;)Z

    move-result v0

    const/4 v1, 0x1

    if-nez v0, :cond_0

    return v1

    .line 14
    :cond_0
    new-instance v0, Ljava/io/File;

    invoke-direct {v0, p0}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 15
    invoke-virtual {v0}, Ljava/io/File;->exists()Z

    move-result p0

    if-eqz p0, :cond_2

    invoke-virtual {v0}, Ljava/io/File;->isDirectory()Z

    move-result p0

    if-nez p0, :cond_1

    goto :goto_0

    .line 16
    :cond_1
    invoke-virtual {v0}, Ljava/io/File;->getName()Ljava/lang/String;

    move-result-object p0

    invoke-virtual {v0}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

    move-result-object v0

    invoke-static {p0, v0}, Lcom/estrongs/android/pop/utils/n;->a(Ljava/lang/String;Ljava/lang/String;)Z

    move-result p0

    return p0

    :cond_2
    :goto_0
    return v1
.end method

.method public static c(Ljava/lang/String;I)Z
    .locals 6

    .line 1
    sget-object v0, Lcom/estrongs/android/pop/utils/n;->f:Ljava/util/Set;

    monitor-enter v0

    .line 2
    :try_start_0
    sget-object v1, Lcom/estrongs/android/pop/utils/n;->f:Ljava/util/Set;

    invoke-interface {v1}, Ljava/util/Set;->size()I

    move-result v1

    const/4 v2, 0x0

    if-nez v1, :cond_0

    monitor-exit v0

    return v2

    :cond_0
    const/4 v1, 0x0

    .line 3
    sget-object v3, Lcom/estrongs/android/pop/utils/n;->f:Ljava/util/Set;

    invoke-interface {v3}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object v3

    :cond_1
    invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z

    move-result v4

    if-eqz v4, :cond_3

    invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lcom/estrongs/android/pop/utils/n$i;

    .line 4
    iget v5, v4, Lcom/estrongs/android/pop/utils/n$i;->b:I

    if-ne p1, v5, :cond_1

    if-nez v1, :cond_2

    .line 5
    invoke-static {p0}, Lcom/estrongs/android/pop/utils/n;->k(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    .line 6
    :cond_2
    iget-object v4, v4, Lcom/estrongs/android/pop/utils/n$i;->a:Ljava/lang/String;

    invoke-virtual {v1, v4}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_1

    const/4 p0, 0x1

    .line 7
    monitor-exit v0

    return p0

    .line 8
    :cond_3
    monitor-exit v0

    return v2

    :catchall_0
    move-exception p0

    .line 9
    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    goto :goto_1

    :goto_0
    throw p0

    :goto_1
    goto :goto_0
.end method

.method public static d(Ljava/lang/String;I)V
    .locals 3

    .line 1
    invoke-static {p0}, Lcom/estrongs/android/pop/utils/n;->k(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p0

    .line 2
    sget-object v0, Lcom/estrongs/android/pop/utils/n;->f:Ljava/util/Set;

    monitor-enter v0

    .line 3
    :try_start_0
    sget-object v1, Lcom/estrongs/android/pop/utils/n;->f:Ljava/util/Set;

    new-instance v2, Lcom/estrongs/android/pop/utils/n$i;

    invoke-direct {v2, p0, p1}, Lcom/estrongs/android/pop/utils/n$i;-><init>(Ljava/lang/String;I)V

    invoke-interface {v1, v2}, Ljava/util/Set;->add(Ljava/lang/Object;)Z

    .line 4
    monitor-exit v0

    return-void

    :catchall_0
    move-exception p0

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw p0
.end method

.method private d(Ljava/lang/String;)Z
    .locals 2

    .line 5
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->b(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    .line 6
    new-instance v0, Ljava/io/File;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string p1, ".nomedia"

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-direct {v0, p1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 7
    invoke-virtual {v0}, Ljava/io/File;->exists()Z

    move-result p1

    return p1
.end method

.method public static d()[Lcom/estrongs/android/pop/utils/n$g;
    .locals 3

    .line 8
    sget v0, Lcom/estrongs/android/pop/utils/n;->h:I

    if-nez v0, :cond_0

    .line 9
    invoke-static {}, Lcom/estrongs/android/pop/utils/n;->f()V

    .line 10
    :cond_0
    sget-object v0, Lcom/estrongs/android/pop/utils/n;->i:Ljava/lang/Object;

    monitor-enter v0

    .line 11
    :try_start_0
    sget-object v1, Lcom/estrongs/android/pop/utils/n;->j:Lcom/estrongs/android/pop/utils/n;

    sget-object v2, Lcom/estrongs/android/pop/j;->l:Ljava/util/List;

    invoke-direct {v1, v2}, Lcom/estrongs/android/pop/utils/n;->b(Ljava/util/List;)[Lcom/estrongs/android/pop/utils/n$g;

    move-result-object v1

    monitor-exit v0

    return-object v1

    :catchall_0
    move-exception v1

    .line 12
    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1
.end method

.method public static e()Lcom/estrongs/android/pop/utils/n;
    .locals 1

    .line 1
    sget-object v0, Lcom/estrongs/android/pop/utils/n;->j:Lcom/estrongs/android/pop/utils/n;

    return-object v0
.end method

.method private e(Ljava/lang/String;)Z
    .locals 6

    .line 2
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->b(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    .line 3
    new-instance v0, Ljava/io/File;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v2, ".nomedia"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 4
    invoke-virtual {v0}, Ljava/io/File;->exists()Z

    move-result v1

    const/4 v3, 0x1

    if-eqz v1, :cond_0

    return v3

    :cond_0
    const/4 v1, 0x0

    .line 5
    :try_start_0
    new-instance v4, Ljava/io/FileOutputStream;

    new-instance v5, Ljava/lang/StringBuilder;

    invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v5, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v5, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-direct {v4, p1}, Ljava/io/FileOutputStream;-><init>(Ljava/lang/String;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_2
    .catchall {:try_start_0 .. :try_end_0} :catchall_1

    :try_start_1
    const-string p1, "ES"

    .line 6
    invoke-virtual {p1}, Ljava/lang/String;->getBytes()[B

    move-result-object p1

    invoke-virtual {v4, p1}, Ljava/io/FileOutputStream;->write([B)V
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    .line 7
    :try_start_2
    invoke-virtual {v4}, Ljava/io/FileOutputStream;->close()V
    :try_end_2
    .catch Ljava/io/IOException; {:try_start_2 .. :try_end_2} :catch_0

    goto :goto_0

    :catch_0
    move-exception p1

    .line 8
    invoke-virtual {p1}, Ljava/io/IOException;->printStackTrace()V

    :goto_0
    return v3

    :catchall_0
    move-exception p1

    move-object v1, v4

    goto :goto_3

    :catch_1
    move-exception p1

    move-object v1, v4

    goto :goto_1

    :catchall_1
    move-exception p1

    goto :goto_3

    :catch_2
    move-exception p1

    .line 9
    :goto_1
    :try_start_3
    invoke-virtual {p1}, Ljava/lang/Exception;->printStackTrace()V

    .line 10
    invoke-virtual {v0}, Ljava/io/File;->delete()Z
    :try_end_3
    .catchall {:try_start_3 .. :try_end_3} :catchall_1

    const/4 p1, 0x0

    if-eqz v1, :cond_1

    .line 11
    :try_start_4
    invoke-virtual {v1}, Ljava/io/FileOutputStream;->close()V
    :try_end_4
    .catch Ljava/io/IOException; {:try_start_4 .. :try_end_4} :catch_3

    goto :goto_2

    :catch_3
    move-exception v0

    .line 12
    invoke-virtual {v0}, Ljava/io/IOException;->printStackTrace()V

    :cond_1
    :goto_2
    return p1

    :goto_3
    if-eqz v1, :cond_2

    .line 13
    :try_start_5
    invoke-virtual {v1}, Ljava/io/FileOutputStream;->close()V
    :try_end_5
    .catch Ljava/io/IOException; {:try_start_5 .. :try_end_5} :catch_4

    goto :goto_4

    :catch_4
    move-exception v0

    .line 14
    invoke-virtual {v0}, Ljava/io/IOException;->printStackTrace()V

    .line 15
    :cond_2
    :goto_4
    throw p1
.end method

.method private f(Ljava/lang/String;)Ljava/lang/String;
    .locals 4

    const-string v0, "@"

    .line 1
    invoke-virtual {p1, v0}, Ljava/lang/String;->lastIndexOf(Ljava/lang/String;)I

    move-result v0

    if-gez v0, :cond_0

    return-object p1

    .line 2
    :cond_0
    invoke-virtual {p1, v0}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object v1

    const/16 v2, 0x3a

    .line 3
    invoke-virtual {p1, v2}, Ljava/lang/String;->indexOf(I)I

    move-result v2

    if-gez v2, :cond_1

    return-object p1

    :cond_1
    const/4 v3, 0x0

    .line 4
    invoke-virtual {p1, v3, v2}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v3

    add-int/lit8 v2, v2, 0x1

    .line 5
    invoke-virtual {p1, v2, v0}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object p1

    .line 6
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v2, ":"

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-static {p1}, Lcom/estrongs/android/util/o0;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    return-object p1
.end method

.method public static f()V
    .locals 9

    .line 7
    sget-object v0, Lcom/estrongs/android/pop/utils/n;->i:Ljava/lang/Object;

    monitor-enter v0

    .line 8
    :try_start_0
    sget-object v1, Lcom/estrongs/android/pop/utils/n;->k:Ljava/lang/String;

    if-nez v1, :cond_0

    .line 9
    sget-object v1, Lcom/estrongs/android/pop/utils/n;->e:Ljava/lang/String;

    sput-object v1, Lcom/estrongs/android/pop/utils/n;->k:Ljava/lang/String;

    .line 10
    :cond_0
    sget v1, Lcom/estrongs/android/pop/utils/n;->h:I

    const/4 v2, 0x1

    if-ne v1, v2, :cond_1

    .line 11
    monitor-exit v0

    return-void

    .line 12
    :cond_1
    sget-object v1, Lcom/estrongs/android/pop/utils/n;->e:Ljava/lang/String;

    sput-object v1, Lcom/estrongs/android/pop/utils/n;->k:Ljava/lang/String;
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_1

    const/4 v1, 0x0

    const/4 v3, 0x0

    .line 13
    :try_start_1
    new-instance v4, Ljava/io/FileInputStream;

    sget-object v5, Lcom/estrongs/android/pop/utils/n;->e:Ljava/lang/String;

    invoke-direct {v4, v5}, Ljava/io/FileInputStream;-><init>(Ljava/lang/String;)V

    .line 14
    sget-object v5, Lcom/estrongs/android/pop/utils/n;->j:Lcom/estrongs/android/pop/utils/n;

    new-instance v6, Lcom/estrongs/android/pop/utils/n$h;

    sget-object v7, Lcom/estrongs/android/pop/utils/n;->j:Lcom/estrongs/android/pop/utils/n;

    invoke-virtual {v7}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    invoke-direct {v6, v7, v3, v3}, Lcom/estrongs/android/pop/utils/n$h;-><init>(Lcom/estrongs/android/pop/utils/n;ZI)V

    invoke-direct {v5, v1, v4, v6}, Lcom/estrongs/android/pop/utils/n;->a(Lcom/estrongs/android/pop/utils/n$f;Ljava/io/InputStream;Lcom/estrongs/android/pop/utils/n$h;)V

    .line 15
    invoke-virtual {v4}, Ljava/io/InputStream;->close()V

    .line 16
    sput v2, Lcom/estrongs/android/pop/utils/n;->h:I
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    .line 17
    :try_start_2
    sget-object v4, Lcom/estrongs/android/pop/j;->l:Ljava/util/List;

    if-eqz v4, :cond_2

    .line 18
    sget-object v4, Lcom/estrongs/android/pop/j;->l:Ljava/util/List;

    invoke-interface {v4}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v4

    :goto_0
    invoke-interface {v4}, Ljava/util/Iterator;->hasNext()Z

    move-result v5

    if-eqz v5, :cond_2

    invoke-interface {v4}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Ljava/lang/String;

    .line 19
    new-instance v6, Ljava/io/File;

    invoke-direct {v6, v5}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 20
    sget-object v7, Lcom/estrongs/android/pop/utils/n;->j:Lcom/estrongs/android/pop/utils/n;

    invoke-virtual {v6}, Ljava/io/File;->isDirectory()Z

    move-result v6

    invoke-virtual {v7, v5, v6, v1, v3}, Lcom/estrongs/android/pop/utils/n;->a(Ljava/lang/String;ZLjava/util/List;Z)V

    .line 21
    sput-boolean v2, Lcom/estrongs/android/pop/utils/n;->g:Z

    goto :goto_0

    .line 22
    :cond_2
    monitor-exit v0
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_1

    return-void

    :catchall_0
    move-exception v4

    goto :goto_2

    :catch_0
    const/4 v4, 0x2

    .line 23
    :try_start_3
    sput v4, Lcom/estrongs/android/pop/utils/n;->h:I
    :try_end_3
    .catchall {:try_start_3 .. :try_end_3} :catchall_0

    .line 24
    :try_start_4
    sget-object v4, Lcom/estrongs/android/pop/j;->l:Ljava/util/List;

    if-eqz v4, :cond_3

    .line 25
    sget-object v4, Lcom/estrongs/android/pop/j;->l:Ljava/util/List;

    invoke-interface {v4}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v4

    :goto_1
    invoke-interface {v4}, Ljava/util/Iterator;->hasNext()Z

    move-result v5

    if-eqz v5, :cond_3

    invoke-interface {v4}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Ljava/lang/String;

    .line 26
    new-instance v6, Ljava/io/File;

    invoke-direct {v6, v5}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 27
    sget-object v7, Lcom/estrongs/android/pop/utils/n;->j:Lcom/estrongs/android/pop/utils/n;

    invoke-virtual {v6}, Ljava/io/File;->isDirectory()Z

    move-result v6

    invoke-virtual {v7, v5, v6, v1, v3}, Lcom/estrongs/android/pop/utils/n;->a(Ljava/lang/String;ZLjava/util/List;Z)V

    .line 28
    sput-boolean v2, Lcom/estrongs/android/pop/utils/n;->g:Z

    goto :goto_1

    .line 29
    :cond_3
    monitor-exit v0

    return-void

    .line 30
    :goto_2
    sget-object v5, Lcom/estrongs/android/pop/j;->l:Ljava/util/List;

    if-eqz v5, :cond_4

    .line 31
    sget-object v5, Lcom/estrongs/android/pop/j;->l:Ljava/util/List;

    invoke-interface {v5}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v5

    :goto_3
    invoke-interface {v5}, Ljava/util/Iterator;->hasNext()Z

    move-result v6

    if-eqz v6, :cond_4

    invoke-interface {v5}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v6

    check-cast v6, Ljava/lang/String;

    .line 32
    new-instance v7, Ljava/io/File;

    invoke-direct {v7, v6}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 33
    sget-object v8, Lcom/estrongs/android/pop/utils/n;->j:Lcom/estrongs/android/pop/utils/n;

    invoke-virtual {v7}, Ljava/io/File;->isDirectory()Z

    move-result v7

    invoke-virtual {v8, v6, v7, v1, v3}, Lcom/estrongs/android/pop/utils/n;->a(Ljava/lang/String;ZLjava/util/List;Z)V

    .line 34
    sput-boolean v2, Lcom/estrongs/android/pop/utils/n;->g:Z

    goto :goto_3

    .line 35
    :cond_4
    throw v4

    :catchall_1
    move-exception v1

    .line 36
    monitor-exit v0
    :try_end_4
    .catchall {:try_start_4 .. :try_end_4} :catchall_1

    goto :goto_5

    :goto_4
    throw v1

    :goto_5
    goto :goto_4
.end method

.method private g()V
    .locals 2

    const/4 v0, 0x0

    .line 1
    :goto_0
    iget-object v1, p0, Lcom/estrongs/android/pop/utils/n;->b:Ljava/util/List;

    invoke-interface {v1}, Ljava/util/List;->size()I

    move-result v1

    if-ge v0, v1, :cond_0

    .line 2
    iget-object v1, p0, Lcom/estrongs/android/pop/utils/n;->b:Ljava/util/List;

    invoke-interface {v1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/estrongs/android/pop/utils/n$e;

    invoke-interface {v1}, Lcom/estrongs/android/pop/utils/n$e;->a()V

    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    :cond_0
    return-void
.end method

.method private static g(Ljava/lang/String;)V
    .locals 0

    .line 3
    invoke-static {p0}, Lcom/estrongs/fs/impl/media/d;->g(Ljava/lang/String;)V

    return-void
.end method

.method public static h()V
    .locals 2

    .line 15
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    sget-object v1, Lcom/estrongs/android/pop/b;->a:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v1, "/hide2.txt"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    sput-object v0, Lcom/estrongs/android/pop/utils/n;->e:Ljava/lang/String;

    .line 16
    sget-object v1, Lcom/estrongs/android/pop/utils/n;->k:Ljava/lang/String;

    if-eqz v1, :cond_0

    invoke-virtual {v1, v0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_0

    const/4 v0, 0x0

    .line 17
    sput v0, Lcom/estrongs/android/pop/utils/n;->h:I

    :cond_0
    return-void
.end method

.method private static h(Ljava/lang/String;)Z
    .locals 4

    const-string v0, ".nomedia"

    const/4 v1, 0x0

    .line 1
    :try_start_0
    new-instance v2, Ljava/io/FileInputStream;

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v3, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Ljava/io/FileInputStream;-><init>(Ljava/lang/String;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_2
    .catchall {:try_start_0 .. :try_end_0} :catchall_1

    const/4 v1, 0x2

    :try_start_1
    new-array v1, v1, [B

    .line 2
    invoke-virtual {v2, v1}, Ljava/io/FileInputStream;->read([B)I

    .line 3
    new-instance v3, Ljava/lang/String;

    invoke-direct {v3, v1}, Ljava/lang/String;-><init>([B)V

    const-string v1, "ES"

    .line 4
    invoke-virtual {v3, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    .line 5
    new-instance v1, Ljava/io/File;

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v3, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p0

    invoke-direct {v1, p0}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1}, Ljava/io/File;->delete()Z

    move-result p0
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    .line 6
    :try_start_2
    invoke-virtual {v2}, Ljava/io/FileInputStream;->close()V
    :try_end_2
    .catch Ljava/io/IOException; {:try_start_2 .. :try_end_2} :catch_0

    goto :goto_0

    :catch_0
    move-exception v0

    .line 7
    invoke-virtual {v0}, Ljava/io/IOException;->printStackTrace()V

    :goto_0
    return p0

    .line 8
    :cond_0
    :try_start_3
    invoke-virtual {v2}, Ljava/io/FileInputStream;->close()V
    :try_end_3
    .catch Ljava/io/IOException; {:try_start_3 .. :try_end_3} :catch_3

    goto :goto_2

    :catchall_0
    move-exception p0

    move-object v1, v2

    goto :goto_3

    :catch_1
    move-exception p0

    move-object v1, v2

    goto :goto_1

    :catchall_1
    move-exception p0

    goto :goto_3

    :catch_2
    move-exception p0

    .line 9
    :goto_1
    :try_start_4
    invoke-virtual {p0}, Ljava/lang/Exception;->printStackTrace()V
    :try_end_4
    .catchall {:try_start_4 .. :try_end_4} :catchall_1

    if-eqz v1, :cond_1

    .line 10
    :try_start_5
    invoke-virtual {v1}, Ljava/io/FileInputStream;->close()V
    :try_end_5
    .catch Ljava/io/IOException; {:try_start_5 .. :try_end_5} :catch_3

    goto :goto_2

    :catch_3
    move-exception p0

    .line 11
    invoke-virtual {p0}, Ljava/io/IOException;->printStackTrace()V

    :cond_1
    :goto_2
    const/4 p0, 0x0

    return p0

    :goto_3
    if-eqz v1, :cond_2

    .line 12
    :try_start_6
    invoke-virtual {v1}, Ljava/io/FileInputStream;->close()V
    :try_end_6
    .catch Ljava/io/IOException; {:try_start_6 .. :try_end_6} :catch_4

    goto :goto_4

    :catch_4
    move-exception v0

    .line 13
    invoke-virtual {v0}, Ljava/io/IOException;->printStackTrace()V

    .line 14
    :cond_2
    :goto_4
    throw p0
.end method

.method private i(Ljava/lang/String;)Ljava/lang/String;
    .locals 4

    const-string v0, "@"

    .line 12
    invoke-virtual {p1, v0}, Ljava/lang/String;->lastIndexOf(Ljava/lang/String;)I

    move-result v0

    if-gez v0, :cond_0

    return-object p1

    .line 13
    :cond_0
    invoke-virtual {p1, v0}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object v1

    const/16 v2, 0x3a

    .line 14
    invoke-virtual {p1, v2}, Ljava/lang/String;->indexOf(I)I

    move-result v2

    if-gez v2, :cond_1

    return-object p1

    :cond_1
    const/4 v3, 0x0

    .line 15
    invoke-virtual {p1, v3, v2}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v3

    add-int/lit8 v2, v2, 0x1

    .line 16
    invoke-virtual {p1, v2, v0}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object p1

    .line 17
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v2, ":"

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-static {p1}, Lcom/estrongs/android/util/o0;->b(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    return-object p1
.end method

.method public static i()V
    .locals 8

    .line 1
    sget-object v0, Lcom/estrongs/android/pop/utils/n;->i:Ljava/lang/Object;

    monitor-enter v0

    .line 2
    :try_start_0
    new-instance v1, Ljava/io/File;

    sget-object v2, Lcom/estrongs/android/pop/utils/n;->e:Ljava/lang/String;

    invoke-direct {v1, v2}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 3
    invoke-virtual {v1}, Ljava/io/File;->delete()Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 4
    :try_start_1
    new-instance v1, Ljava/io/FileOutputStream;

    sget-object v2, Lcom/estrongs/android/pop/utils/n;->e:Ljava/lang/String;

    invoke-direct {v1, v2}, Ljava/io/FileOutputStream;-><init>(Ljava/lang/String;)V

    .line 5
    sget-object v2, Lcom/estrongs/android/pop/utils/n;->j:Lcom/estrongs/android/pop/utils/n;

    const/4 v3, 0x0

    new-instance v4, Lcom/estrongs/android/pop/utils/n$j;

    sget-object v5, Lcom/estrongs/android/pop/utils/n;->j:Lcom/estrongs/android/pop/utils/n;

    invoke-virtual {v5}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    const/4 v6, 0x1

    const/4 v7, 0x0

    invoke-direct {v4, v5, v6, v7}, Lcom/estrongs/android/pop/utils/n$j;-><init>(Lcom/estrongs/android/pop/utils/n;ZI)V

    invoke-direct {v2, v3, v1, v4}, Lcom/estrongs/android/pop/utils/n;->a(Lcom/estrongs/android/pop/utils/n$f;Ljava/io/OutputStream;Lcom/estrongs/android/pop/utils/n$j;)V

    .line 6
    invoke-virtual {v1}, Ljava/io/OutputStream;->flush()V

    .line 7
    invoke-virtual {v1}, Ljava/io/OutputStream;->close()V

    .line 8
    invoke-static {}, Les/ru;->i()Les/ru;

    move-result-object v1

    invoke-virtual {v1}, Les/ru;->a()V
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    .line 9
    :try_start_2
    monitor-exit v0

    return-void

    .line 10
    :catch_0
    monitor-exit v0

    return-void

    :catchall_0
    move-exception v1

    .line 11
    monitor-exit v0
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_0

    throw v1
.end method

.method private j(Ljava/lang/String;)Lcom/estrongs/android/pop/utils/n$d;
    .locals 12

    const-string v0, "/"

    const-string v1, "/mnt/shell/sdcard0"

    const-string v2, "/storage/emulated/legacy"

    const/4 v3, 0x0

    .line 1
    :try_start_0
    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-eqz v4, :cond_0

    new-instance v0, Lcom/estrongs/android/pop/utils/n$d;

    invoke-direct {v0, p0, p1, v3}, Lcom/estrongs/android/pop/utils/n$d;-><init>(Lcom/estrongs/android/pop/utils/n;Ljava/lang/String;Z)V

    return-object v0

    :cond_0
    const/4 v4, 0x0

    .line 2
    :goto_0
    iget-object v5, p0, Lcom/estrongs/android/pop/utils/n;->c:Ljava/util/ArrayList;

    invoke-virtual {v5}, Ljava/util/ArrayList;->size()I

    move-result v5

    const/16 v6, 0x2f

    const/4 v7, 0x1

    if-ge v4, v5, :cond_3

    .line 3
    iget-object v5, p0, Lcom/estrongs/android/pop/utils/n;->c:Ljava/util/ArrayList;

    invoke-virtual {v5, v4}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Ljava/lang/String;

    invoke-virtual {p1, v5}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v5

    if-eqz v5, :cond_2

    .line 4
    invoke-virtual {p1}, Ljava/lang/String;->length()I

    move-result v5

    iget-object v8, p0, Lcom/estrongs/android/pop/utils/n;->c:Ljava/util/ArrayList;

    invoke-virtual {v8, v4}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v8

    check-cast v8, Ljava/lang/String;

    invoke-virtual {v8}, Ljava/lang/String;->length()I

    move-result v8

    if-eq v5, v8, :cond_1

    iget-object v5, p0, Lcom/estrongs/android/pop/utils/n;->c:Ljava/util/ArrayList;

    .line 5
    invoke-virtual {v5, v4}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Ljava/lang/String;

    invoke-virtual {v5}, Ljava/lang/String;->length()I

    move-result v5

    invoke-virtual {p1, v5}, Ljava/lang/String;->charAt(I)C

    move-result v5

    if-ne v5, v6, :cond_2

    .line 6
    :cond_1
    new-instance v0, Lcom/estrongs/android/pop/utils/n$d;

    iget-object v1, p0, Lcom/estrongs/android/pop/utils/n;->c:Ljava/util/ArrayList;

    invoke-virtual {v1, v4}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/CharSequence;

    iget-object v2, p0, Lcom/estrongs/android/pop/utils/n;->d:Ljava/util/ArrayList;

    invoke-virtual {v2, v4}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/CharSequence;

    invoke-virtual {p1, v1, v2}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, p0, v1, v7}, Lcom/estrongs/android/pop/utils/n$d;-><init>(Lcom/estrongs/android/pop/utils/n;Ljava/lang/String;Z)V

    return-object v0

    :cond_2
    add-int/lit8 v4, v4, 0x1

    goto :goto_0

    .line 7
    :cond_3
    invoke-virtual {p1, v0}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_4

    .line 8
    invoke-virtual {p1}, Ljava/lang/String;->length()I

    move-result v0

    sub-int/2addr v0, v7

    invoke-virtual {p1, v3, v0}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object p1

    .line 9
    :cond_4
    new-instance v0, Ljava/io/File;

    invoke-direct {v0, p1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 10
    invoke-virtual {v0}, Ljava/io/File;->getCanonicalPath()Ljava/lang/String;

    move-result-object v0

    .line 11
    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v4

    if-nez v4, :cond_8

    const-string v4, "/storage/emulated/legacy/"

    invoke-virtual {v0, v4}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_5

    goto :goto_2

    .line 12
    :cond_5
    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-nez v2, :cond_7

    const-string v2, "/mnt/shell/sdcard0/"

    invoke-virtual {v0, v2}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_6

    goto :goto_1

    :cond_6
    const/4 v1, 0x0

    goto :goto_4

    .line 13
    :cond_7
    :goto_1
    invoke-static {}, Lcom/estrongs/android/pop/c;->b()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Ljava/lang/String;->replaceFirst(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 14
    iget-object v2, p0, Lcom/estrongs/android/pop/utils/n;->c:Ljava/util/ArrayList;

    invoke-virtual {v2, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 15
    iget-object v1, p0, Lcom/estrongs/android/pop/utils/n;->d:Ljava/util/ArrayList;

    invoke-static {}, Lcom/estrongs/android/pop/c;->b()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto :goto_3

    .line 16
    :cond_8
    :goto_2
    invoke-static {}, Lcom/estrongs/android/pop/c;->b()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v2, v1}, Ljava/lang/String;->replaceFirst(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 17
    iget-object v1, p0, Lcom/estrongs/android/pop/utils/n;->c:Ljava/util/ArrayList;

    invoke-virtual {v1, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 18
    iget-object v1, p0, Lcom/estrongs/android/pop/utils/n;->d:Ljava/util/ArrayList;

    invoke-static {}, Lcom/estrongs/android/pop/c;->b()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    :goto_3
    const/4 v1, 0x1

    .line 19
    :goto_4
    invoke-virtual {p1, v0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_9

    .line 20
    new-instance v1, Lcom/estrongs/android/pop/utils/n$d;

    invoke-direct {v1, p0, v0, v3}, Lcom/estrongs/android/pop/utils/n$d;-><init>(Lcom/estrongs/android/pop/utils/n;Ljava/lang/String;Z)V

    return-object v1

    .line 21
    :cond_9
    invoke-virtual {p1}, Ljava/lang/String;->length()I

    move-result v2

    sub-int/2addr v2, v7

    .line 22
    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v4

    sub-int/2addr v4, v7

    move v5, v4

    move v8, v5

    move v4, v2

    :goto_5
    if-ltz v2, :cond_e

    if-ltz v5, :cond_e

    .line 23
    invoke-virtual {p1, v2}, Ljava/lang/String;->charAt(I)C

    move-result v9

    invoke-virtual {v0, v5}, Ljava/lang/String;->charAt(I)C

    move-result v10

    if-eq v9, v10, :cond_a

    if-ge v2, v4, :cond_e

    add-int/lit8 v1, v2, 0x1

    .line 24
    invoke-virtual {p1, v1}, Ljava/lang/String;->charAt(I)C

    move-result v1

    if-ne v1, v6, :cond_b

    add-int/lit8 v1, v5, 0x1

    invoke-virtual {v0, v1}, Ljava/lang/String;->charAt(I)C

    move-result v1

    if-eq v1, v6, :cond_e

    goto :goto_6

    .line 25
    :cond_a
    invoke-virtual {p1, v2}, Ljava/lang/String;->charAt(I)C

    move-result v9

    if-ne v9, v6, :cond_d

    if-nez v1, :cond_d

    .line 26
    invoke-virtual {p1, v3, v2}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v9

    .line 27
    invoke-virtual {v0, v3, v5}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v10

    if-eqz v9, :cond_c

    if-eqz v10, :cond_c

    .line 28
    new-instance v11, Ljava/io/File;

    invoke-direct {v11, v9}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 29
    invoke-virtual {v11}, Ljava/io/File;->getCanonicalPath()Ljava/lang/String;

    move-result-object v9

    invoke-virtual {v9, v10}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v9

    if-nez v9, :cond_c

    :cond_b
    :goto_6
    move v2, v4

    move v5, v8

    goto :goto_7

    :cond_c
    add-int/lit8 v4, v2, -0x1

    add-int/lit8 v8, v5, -0x1

    :cond_d
    add-int/lit8 v2, v2, -0x1

    add-int/lit8 v5, v5, -0x1

    goto :goto_5

    :cond_e
    :goto_7
    if-gez v2, :cond_f

    .line 30
    iget-object v1, p0, Lcom/estrongs/android/pop/utils/n;->c:Ljava/util/ArrayList;

    invoke-virtual {v1, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 31
    iget-object v1, p0, Lcom/estrongs/android/pop/utils/n;->d:Ljava/util/ArrayList;

    invoke-virtual {p1}, Ljava/lang/String;->length()I

    move-result v2

    add-int/2addr v5, v2

    add-int/2addr v5, v7

    invoke-virtual {v0, v3, v5}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto :goto_8

    :cond_f
    if-gez v5, :cond_10

    .line 32
    iget-object v1, p0, Lcom/estrongs/android/pop/utils/n;->c:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v4

    add-int/2addr v2, v4

    add-int/2addr v2, v7

    invoke-virtual {p1, v3, v2}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 33
    iget-object v1, p0, Lcom/estrongs/android/pop/utils/n;->d:Ljava/util/ArrayList;

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto :goto_8

    .line 34
    :cond_10
    iget-object v1, p0, Lcom/estrongs/android/pop/utils/n;->c:Ljava/util/ArrayList;

    add-int/2addr v2, v7

    invoke-virtual {p1, v3, v2}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 35
    iget-object v1, p0, Lcom/estrongs/android/pop/utils/n;->d:Ljava/util/ArrayList;

    add-int/2addr v5, v7

    invoke-virtual {v0, v3, v5}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 36
    :goto_8
    new-instance v1, Lcom/estrongs/android/pop/utils/n$d;

    invoke-direct {v1, p0, v0, v7}, Lcom/estrongs/android/pop/utils/n$d;-><init>(Lcom/estrongs/android/pop/utils/n;Ljava/lang/String;Z)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    return-object v1

    .line 37
    :catch_0
    new-instance v0, Lcom/estrongs/android/pop/utils/n$d;

    invoke-direct {v0, p0, p1, v3}, Lcom/estrongs/android/pop/utils/n$d;-><init>(Lcom/estrongs/android/pop/utils/n;Ljava/lang/String;Z)V

    return-object v0
.end method

.method public static k(Ljava/lang/String;)Ljava/lang/String;
    .locals 3

    if-eqz p0, :cond_3

    const-string v0, "/"

    .line 1
    invoke-virtual {p0, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_0

    const-string v0, "file:///"

    invoke-virtual {p0, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_0

    const-string v0, "FILE:///"

    .line 2
    invoke-virtual {p0, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_0

    goto :goto_1

    .line 3
    :cond_0
    sget-object v0, Lcom/estrongs/android/pop/utils/n;->i:Ljava/lang/Object;

    monitor-enter v0

    :try_start_0
    const-string v1, "file://"

    .line 4
    invoke-virtual {p0, v1}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v1

    if-nez v1, :cond_2

    const-string v1, "FILE://"

    .line 5
    invoke-virtual {p0, v1}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_1

    goto :goto_0

    .line 6
    :cond_1
    sget-object v1, Lcom/estrongs/android/pop/utils/n;->j:Lcom/estrongs/android/pop/utils/n;

    invoke-direct {v1, p0}, Lcom/estrongs/android/pop/utils/n;->j(Ljava/lang/String;)Lcom/estrongs/android/pop/utils/n$d;

    move-result-object p0

    iget-object p0, p0, Lcom/estrongs/android/pop/utils/n$d;->a:Ljava/lang/String;

    monitor-exit v0

    return-object p0

    .line 7
    :cond_2
    :goto_0
    sget-object v1, Lcom/estrongs/android/pop/utils/n;->j:Lcom/estrongs/android/pop/utils/n;

    const/4 v2, 0x7

    invoke-virtual {p0, v2}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object p0

    invoke-direct {v1, p0}, Lcom/estrongs/android/pop/utils/n;->j(Ljava/lang/String;)Lcom/estrongs/android/pop/utils/n$d;

    move-result-object p0

    iget-object p0, p0, Lcom/estrongs/android/pop/utils/n$d;->a:Ljava/lang/String;

    monitor-exit v0

    return-object p0

    :catchall_0
    move-exception p0

    .line 8
    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw p0

    :cond_3
    :goto_1
    return-object p0
.end method

.method public static l(Ljava/lang/String;)Ljava/lang/String;
    .locals 3

    const/16 v0, 0x2f

    .line 1
    :try_start_0
    invoke-virtual {p0, v0}, Ljava/lang/String;->indexOf(I)I

    move-result v1

    add-int/lit8 v1, v1, 0x1

    .line 2
    invoke-virtual {p0, v0, v1}, Ljava/lang/String;->indexOf(II)I

    move-result v0

    .line 3
    invoke-virtual {p0, v0}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object v2

    .line 4
    invoke-virtual {p0, v1, v0}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object p0

    const-string v0, "local"

    .line 5
    invoke-virtual {p0, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    return-object v2

    .line 6
    :cond_0
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string p0, ":/"

    invoke-virtual {v0, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p0
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    return-object p0

    :catch_0
    const/4 p0, 0x0

    return-object p0
.end method

.method private m(Ljava/lang/String;)Lcom/estrongs/android/pop/utils/n$f;
    .locals 4

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/utils/n;->a:Lcom/estrongs/android/pop/utils/n$f;

    iget-object v1, v0, Lcom/estrongs/android/pop/utils/n$f;->d:Ljava/util/ArrayList;

    if-nez v1, :cond_0

    .line 2
    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    iput-object v1, v0, Lcom/estrongs/android/pop/utils/n$f;->d:Ljava/util/ArrayList;

    :cond_0
    const/4 v0, 0x0

    const/4 v1, 0x0

    .line 3
    :goto_0
    iget-object v2, p0, Lcom/estrongs/android/pop/utils/n;->a:Lcom/estrongs/android/pop/utils/n$f;

    iget-object v2, v2, Lcom/estrongs/android/pop/utils/n$f;->d:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v2

    if-ge v1, v2, :cond_2

    .line 4
    iget-object v2, p0, Lcom/estrongs/android/pop/utils/n;->a:Lcom/estrongs/android/pop/utils/n$f;

    iget-object v2, v2, Lcom/estrongs/android/pop/utils/n$f;->d:Ljava/util/ArrayList;

    invoke-virtual {v2, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/estrongs/android/pop/utils/n$f;

    .line 5
    iget-object v3, v2, Lcom/estrongs/android/pop/utils/n$f;->a:Ljava/lang/String;

    invoke-virtual {v3, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_1

    return-object v2

    :cond_1
    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    .line 6
    :cond_2
    new-instance v1, Lcom/estrongs/android/pop/utils/n$f;

    const/4 v2, 0x1

    invoke-direct {v1, p1, v0, v2}, Lcom/estrongs/android/pop/utils/n$f;-><init>(Ljava/lang/String;ZZ)V

    .line 7
    iget-object p1, p0, Lcom/estrongs/android/pop/utils/n;->a:Lcom/estrongs/android/pop/utils/n$f;

    iget-object p1, p1, Lcom/estrongs/android/pop/utils/n$f;->d:Ljava/util/ArrayList;

    invoke-virtual {p1, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    return-object v1
.end method

.method private n(Ljava/lang/String;)Ljava/lang/String;
    .locals 2

    const-string v0, "/"

    .line 1
    invoke-virtual {p1, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    const-string p1, "local"

    return-object p1

    :cond_0
    const-string v0, "://"

    .line 2
    invoke-virtual {p1, v0}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result v0

    if-ltz v0, :cond_1

    const/4 v1, 0x0

    .line 3
    invoke-virtual {p1, v1, v0}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object p1

    return-object p1

    :cond_1
    const/4 p1, 0x0

    return-object p1
.end method

.method public static o(Ljava/lang/String;)V
    .locals 1

    const/4 v0, 0x0

    .line 1
    invoke-static {p0, v0}, Lcom/estrongs/android/pop/utils/n;->a(Ljava/lang/String;Ljava/util/List;)V

    return-void
.end method

.method private p(Ljava/lang/String;)Ljava/lang/String;
    .locals 1

    const-string v0, "/"

    .line 1
    invoke-virtual {p1, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    invoke-virtual {p1, v0}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object p1

    return-object p1

    :cond_0
    const-string v0, "://"

    .line 2
    invoke-virtual {p1, v0}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result v0

    if-ltz v0, :cond_1

    add-int/lit8 v0, v0, 0x3

    .line 3
    invoke-virtual {p1, v0}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object p1

    return-object p1

    :cond_1
    const/4 p1, 0x0

    return-object p1
.end method


# virtual methods
.method public a(Lcom/estrongs/android/pop/utils/n$e;)V
    .locals 1

    .line 18
    iget-object v0, p0, Lcom/estrongs/android/pop/utils/n;->b:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->contains(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    .line 19
    iget-object v0, p0, Lcom/estrongs/android/pop/utils/n;->b:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :cond_0
    return-void
.end method

.method protected a(Ljava/lang/String;ZLjava/util/List;Z)V
    .locals 11
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            "Z",
            "Ljava/util/List<",
            "Ljava/lang/String;",
            ">;Z)V"
        }
    .end annotation

    if-eqz p1, :cond_12

    .line 31
    invoke-virtual {p1}, Ljava/lang/String;->length()I

    move-result v0

    if-eqz v0, :cond_12

    const-string v0, "/"

    .line 32
    invoke-virtual {p1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_12

    invoke-static {p1}, Lcom/estrongs/android/util/h0;->V1(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_0

    goto/16 :goto_b

    :cond_0
    const/4 v1, 0x0

    .line 33
    invoke-virtual {p1, v1}, Ljava/lang/String;->charAt(I)C

    move-result v2

    const/16 v3, 0x2f

    if-ne v2, v3, :cond_1

    .line 34
    invoke-direct {p0, p1}, Lcom/estrongs/android/pop/utils/n;->j(Ljava/lang/String;)Lcom/estrongs/android/pop/utils/n$d;

    move-result-object v2

    .line 35
    iget-object v3, v2, Lcom/estrongs/android/pop/utils/n$d;->a:Ljava/lang/String;

    .line 36
    iget-boolean v2, v2, Lcom/estrongs/android/pop/utils/n$d;->b:Z

    goto :goto_0

    :cond_1
    move-object v3, p1

    const/4 v2, 0x0

    :goto_0
    if-eqz p4, :cond_2

    .line 37
    invoke-direct {p0, v3, p2, p3}, Lcom/estrongs/android/pop/utils/n;->a(Ljava/lang/String;ZLjava/util/List;)V

    :cond_2
    const/4 p3, 0x0

    :goto_1
    const/4 p4, 0x2

    if-ge p3, p4, :cond_12

    const/4 p4, 0x1

    if-ne p3, p4, :cond_6

    .line 38
    :try_start_0
    invoke-virtual {p1, v0}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z

    move-result v3

    if-eqz v3, :cond_3

    .line 39
    invoke-virtual {p1}, Ljava/lang/String;->length()I

    move-result v3

    sub-int/2addr v3, p4

    invoke-virtual {p1, v1, v3}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object p1

    :cond_3
    if-eqz v2, :cond_5

    .line 40
    invoke-static {p1}, Lcom/estrongs/android/util/h0;->X1(Ljava/lang/String;)Z

    move-result v3
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    if-eqz v3, :cond_4

    goto :goto_2

    :cond_4
    move-object v3, p1

    goto :goto_3

    :catch_0
    :cond_5
    :goto_2
    return-void

    .line 41
    :cond_6
    :goto_3
    invoke-direct {p0, v3}, Lcom/estrongs/android/pop/utils/n;->n(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    if-nez v4, :cond_7

    return-void

    .line 42
    :cond_7
    invoke-direct {p0, v3}, Lcom/estrongs/android/pop/utils/n;->p(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

    if-nez v5, :cond_8

    return-void

    .line 43
    :cond_8
    invoke-virtual {v5, v0}, Ljava/lang/String;->split(Ljava/lang/String;)[Ljava/lang/String;

    move-result-object v5

    .line 44
    aget-object v6, v5, v1

    if-eqz v6, :cond_a

    aget-object v6, v5, v1

    invoke-virtual {v6}, Ljava/lang/String;->length()I

    move-result v6

    if-nez v6, :cond_9

    goto :goto_4

    :cond_9
    const/4 v6, 0x0

    goto :goto_5

    :cond_a
    :goto_4
    const/4 v6, 0x1

    .line 45
    :goto_5
    invoke-direct {p0, v4}, Lcom/estrongs/android/pop/utils/n;->m(Ljava/lang/String;)Lcom/estrongs/android/pop/utils/n$f;

    move-result-object v4

    .line 46
    :goto_6
    array-length v7, v5

    if-ge v6, v7, :cond_11

    .line 47
    iget-object v7, v4, Lcom/estrongs/android/pop/utils/n$f;->d:Ljava/util/ArrayList;

    if-nez v7, :cond_b

    .line 48
    new-instance v7, Ljava/util/ArrayList;

    invoke-direct {v7}, Ljava/util/ArrayList;-><init>()V

    iput-object v7, v4, Lcom/estrongs/android/pop/utils/n$f;->d:Ljava/util/ArrayList;

    .line 49
    :cond_b
    iget-object v7, v4, Lcom/estrongs/android/pop/utils/n$f;->d:Ljava/util/ArrayList;

    invoke-virtual {v7}, Ljava/util/ArrayList;->size()I

    move-result v7

    const/4 v8, 0x0

    .line 50
    :goto_7
    iget-object v9, v4, Lcom/estrongs/android/pop/utils/n$f;->d:Ljava/util/ArrayList;

    invoke-virtual {v9}, Ljava/util/ArrayList;->size()I

    move-result v9

    if-ge v8, v9, :cond_d

    .line 51
    aget-object v9, v5, v6

    iget-object v10, v4, Lcom/estrongs/android/pop/utils/n$f;->d:Ljava/util/ArrayList;

    invoke-virtual {v10, v8}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v10

    check-cast v10, Lcom/estrongs/android/pop/utils/n$f;

    iget-object v10, v10, Lcom/estrongs/android/pop/utils/n$f;->a:Ljava/lang/String;

    invoke-virtual {v9, v10}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v9

    if-eqz v9, :cond_c

    .line 52
    iget-object v4, v4, Lcom/estrongs/android/pop/utils/n$f;->d:Ljava/util/ArrayList;

    invoke-virtual {v4, v8}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lcom/estrongs/android/pop/utils/n$f;

    .line 53
    array-length v9, v5

    sub-int/2addr v9, p4

    if-ne v6, v9, :cond_d

    .line 54
    iput-boolean p4, v4, Lcom/estrongs/android/pop/utils/n$f;->b:Z

    .line 55
    sput-boolean p4, Lcom/estrongs/android/pop/utils/n;->g:Z

    goto :goto_8

    :cond_c
    add-int/lit8 v8, v8, 0x1

    goto :goto_7

    :cond_d
    :goto_8
    if-lt v8, v7, :cond_10

    .line 56
    new-instance v7, Lcom/estrongs/android/pop/utils/n$f;

    aget-object v8, v5, v6

    array-length v9, v5

    sub-int/2addr v9, p4

    if-ne v6, v9, :cond_e

    const/4 v9, 0x1

    goto :goto_9

    :cond_e
    const/4 v9, 0x0

    :goto_9
    array-length v10, v5

    sub-int/2addr v10, p4

    if-ne v6, v10, :cond_f

    move v10, p2

    goto :goto_a

    :cond_f
    const/4 v10, 0x1

    :goto_a
    invoke-direct {v7, v8, v9, v10}, Lcom/estrongs/android/pop/utils/n$f;-><init>(Ljava/lang/String;ZZ)V

    .line 57
    iget-object v4, v4, Lcom/estrongs/android/pop/utils/n$f;->d:Ljava/util/ArrayList;

    invoke-virtual {v4, v7}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 58
    sput-boolean p4, Lcom/estrongs/android/pop/utils/n;->g:Z

    move-object v4, v7

    :cond_10
    add-int/lit8 v6, v6, 0x1

    goto :goto_6

    :cond_11
    add-int/lit8 p3, p3, 0x1

    goto/16 :goto_1

    :cond_12
    :goto_b
    return-void
.end method

.method public b(Lcom/estrongs/android/pop/utils/n$e;)V
    .locals 1

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/utils/n;->b:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->remove(Ljava/lang/Object;)Z

    return-void
.end method
